diff options
| author | Guenter Roeck <linux@roeck-us.net> | 2019-04-07 18:29:35 +0300 |
|---|---|---|
| committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-05-05 22:02:13 +0300 |
| commit | 8dd29f19512cc75ee470d7bb8ec86af199de23a8 (patch) | |
| tree | b616713ac620edd2e13e51d0048501208cfaf88a /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | e2a4aeda87d39b616c4064ae8c67972f283067ee (diff) | |
| download | linux-8dd29f19512cc75ee470d7bb8ec86af199de23a8.tar.xz | |
watchdog: rtd119x_wdt: Fix remove function
The driver registers the watchdog with devm_watchdog_register_device() but
still calls watchdog_unregister_device() on remove. Since clocks have to
be stopped when removing the driver, after the watchdog device has been
unregistered, we can not drop the call to watchdog_unregister_device().
Use watchdog_register_device() to register the watchdog.
Fixes: 2bdf6acbfead7 ("watchdog: Add Realtek RTD1295")
Cc: Andreas Färber <afaerber@suse.de>
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
