]> err.no Git - linux-2.6/commit
[WATCHDOG] s3c2410_wdt exit driver via labels
authorBen Dooks <ben-linux@fluff.org>
Mon, 18 Dec 2006 10:31:32 +0000 (10:31 +0000)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 18 Dec 2006 19:18:13 +0000 (20:18 +0100)
commit0b6dd8a640fbaf73b74949b6dc2be50263532576
treefd1b73d9275121be4b432ede688f9cb880513527
parente25db641c0e6dd49c5db24dbe154048d4a466727
[WATCHDOG] s3c2410_wdt exit driver via labels

Cleanup the s3c2410_wdt driver's exit point by
using labels instead of multiple returns. Also
remove the checks for the resources having been
allocate in the exit, as we will now either have
fully allocated or not allocated the resources
at-all.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/char/watchdog/s3c2410_wdt.c