diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2022-05-26 16:03:03 +0800 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2022-07-23 14:18:46 +0200 |
commit | 97d5ec548150764946f38632e62e79759832b54b (patch) | |
tree | a6bcc331ca0d35ba5f5b6ee120eea6a3a1154160 /tools/perf/scripts/python/syscall-counts.py | |
parent | ae662878e7ffa1f8aecdca0df9780ef1fb6b42de (diff) |
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 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions