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)
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>

No differences found