]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: lantiq_wdt: Remove the un-necessary check of resource after platform_get_re...
authorGeorge Cherian <george.cherian@ti.com>
Tue, 10 Jun 2014 04:40:07 +0000 (10:10 +0530)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 5 Aug 2014 20:42:27 +0000 (22:42 +0200)
commitffcadcda0a86a8c94bea11494b7af57b4cc48035
tree6e108622ed6a1cbe7ada124b25f146e406069b0e
parent2a579f12baf688526aa64e55f2eb20529ef3e1e0
watchdog: lantiq_wdt: Remove the un-necessary check of resource after platform_get_resource()

devm_ioremap_resource() checks for valid resource.
Remove the un-necessary check after platform_get_resource().

Signed-off-by: George Cherian <george.cherian@ti.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/lantiq_wdt.c