diff options
author | George Cherian <george.cherian@ti.com> | 2014-06-10 06:40:08 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2014-08-05 22:42:56 +0200 |
commit | 2cdf25bb574c20efde0340ffa90f08d1609ef97c (patch) | |
tree | a87cdbf19254def17b66ad7c31067bb056fd1d28 /drivers/watchdog/sp5100_tco.c | |
parent | watchdog: lantiq_wdt: Remove the un-necessary check of resource after platfor... (diff) | |
download | linux-2cdf25bb574c20efde0340ffa90f08d1609ef97c.tar.xz linux-2cdf25bb574c20efde0340ffa90f08d1609ef97c.zip |
watchdog: shwdt: Remove the unnecessary check of resource after platform_get_resource()
devm_ioremap_resource check for a valid resource. Remove the unnecessary check.
Also group platform_get_resource and devm_ioremap_resource together for better
readability.
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>
Diffstat (limited to 'drivers/watchdog/sp5100_tco.c')
0 files changed, 0 insertions, 0 deletions