diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2024-10-04 23:03:04 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2024-11-05 12:04:32 +0300 |
commit | 140fb00c40c1b751eb352c09c608477444da0420 (patch) | |
tree | 8fc5674b2ad9d576a91c8a555b17953b4332c24b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 06ba0b8da1daabaf10dbec4c04e883d7a6c81706 (diff) | |
download | linux-140fb00c40c1b751eb352c09c608477444da0420.tar.xz |
watchdog: always print when registering watchdog fails
So far, only 'watchdog_register_device' prints an error if registering
the watchdog driver fails. '__watchdog_register_device' doesn't.
Refactor the code so that both print out. Drivers can then rely on that
and skip their own error messages.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20241004200314.5459-2-wsa+renesas@sang-engineering.com
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions