summaryrefslogtreecommitdiff
path: root/drivers/watchdog/watchdog_dev.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2016-07-19 14:21:56 +0300
committerWim Van Sebroeck <wim@iguana.be>2016-07-25 13:02:43 +0300
commitcddd74db8d42b953a0612810f07c99e73deab185 (patch)
tree8e3e74691aa5ae55351cb63af53c221a6f9c2c4b /drivers/watchdog/watchdog_dev.c
parent919edd5119796f1cc3b47f23e7e15cc0f46942ba (diff)
downloadlinux-cddd74db8d42b953a0612810f07c99e73deab185.tar.xz
watchdog: pic32-wdt: Fix return value check in pic32_wdt_drv_probe()
In case of error, the function devm_ioremap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/watchdog_dev.c')
0 files changed, 0 insertions, 0 deletions