watchdog: at32ap700x_wdt: register misc device last in probe() function
This patch reworks the probe() function in the at32ap700x_wdt driver, this to make sure the miscdev is properly initialized and the driver is ready to be accessed. Reported-by: NAkinobu Mita <akinobu.mita@gmail.com> Signed-off-by: NHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> Signed-off-by: NWim Van sebroeck <wim@iguana.be>
Showing
想要评论请 注册 或 登录