]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
watchdog: at32ap700x_wdt: register misc device last in probe() function
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Tue, 8 Jun 2010 06:44:32 +0000 (08:44 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 17 Jun 2010 09:56:57 +0000 (09:56 +0000)
commitf1f5bda4e9726456bd132e738bf60b727856477e
treeda7fa43a1bd1ccaf2a0dae164a98001a8fa55721
parent8acf7d00dfb62d7e5f2533c3f1132f60cb267369
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: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Signed-off-by: Wim Van sebroeck <wim@iguana.be>
drivers/watchdog/at32ap700x_wdt.c