watchdog: s3c2410_wdt - Fix on handling of the request_mem_region fail
authorBanajit Goswami <banajit.g@samsung.com>
Thu, 20 May 2010 10:58:25 +0000 (11:58 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 25 May 2010 09:06:21 +0000 (09:06 +0000)
commit100fb76f0acfebcb7c72875890b9ef33ff04dc2b
tree95d997be39f1f3c3ee979f9e255b50ae0cd7b99d
parent8740f71d7f4f0400cd8c42e6584155024119d77e
watchdog: s3c2410_wdt - Fix on handling of the request_mem_region fail

If the request for wdt_mem region fails, this patch modifies the driver
such that, it does not try to release the wdt_mem region on exit.

Signed-off-by: Banajit Goswami <banajit.g@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/s3c2410_wdt.c