summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/max63xx_wdt.c
diff options
context:
space:
mode:
authorJiasheng Jiang <jiasheng@iscas.ac.cn>2022-05-26 16:03:03 +0800
committerWim Van Sebroeck <wim@linux-watchdog.org>2022-07-23 14:18:46 +0200
commit97d5ec548150764946f38632e62e79759832b54b (patch)
treea6bcc331ca0d35ba5f5b6ee120eea6a3a1154160 /drivers/watchdog/max63xx_wdt.c
parentae662878e7ffa1f8aecdca0df9780ef1fb6b42de (diff)
downloadlinux-stable-97d5ec548150764946f38632e62e79759832b54b.tar.gz
linux-stable-97d5ec548150764946f38632e62e79759832b54b.tar.bz2
linux-stable-97d5ec548150764946f38632e62e79759832b54b.zip
watchdog: f71808e_wdt: Add check for platform_driver_register
As platform_driver_register() could fail, it should be better to deal with the return value in order to maintain the code consisitency. Fixes: 27e0fe00a5c6 ("watchdog: f71808e_wdt: refactor to platform device/driver pair") Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn> Reviewed-by: Guenter Roeck <linux@roeck-us.net> https://lore.kernel.org/r/20220526080303.1005063-1-jiasheng@iscas.ac.cn Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/max63xx_wdt.c')
0 files changed, 0 insertions, 0 deletions