diff options
| author | 2022-05-26 16:03:03 +0800 | |
|---|---|---|
| committer | 2022-07-23 14:18:46 +0200 | |
| commit | 97d5ec548150764946f38632e62e79759832b54b (patch) | |
| tree | a6bcc331ca0d35ba5f5b6ee120eea6a3a1154160 /tools/scripts/ssh:/git@git.zx2c4.com | |
| parent | dt-bindings: watchdog: faraday: Fix typo in example 'timeout-sec' property (diff) | |
| download | linux-dev-97d5ec548150764946f38632e62e79759832b54b.tar.xz linux-dev-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 'tools/scripts/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
