diff options
author | Chen Ni <[email protected]> | 2024-04-26 15:58:08 +0800 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2024-05-04 12:50:43 +0200 |
commit | 413bf4e857fd79617524d5dcd35f463e9aa2dd41 (patch) | |
tree | c2f289ba10e4ab46b874d4b26b165ebbbe0f228a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cae58516534e110f4a8558d48aa4435e15519121 (diff) |
watchdog: sa1100: Fix PTR_ERR_OR_ZERO() vs NULL check in sa1100dog_probe()
devm_ioremap() doesn't return error pointers, it returns NULL on error.
Update the check accordingly.
Fixes: e86bd43bcfc5 ("watchdog: sa1100: use platform device registration")
Signed-off-by: Chen Ni <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: 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/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions