diff options
author | Jiasheng Jiang <[email protected]> | 2022-05-26 16:03:03 +0800 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2022-07-23 14:18:46 +0200 |
commit | 97d5ec548150764946f38632e62e79759832b54b (patch) | |
tree | a6bcc331ca0d35ba5f5b6ee120eea6a3a1154160 /tools/testing/selftests/bpf/prog_tests | |
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 <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions