diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-03-07 10:04:04 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2023-04-22 13:53:55 +0300 |
commit | 0e89b2c9a2a6984af43d09de9d1bb44da9822ba2 (patch) | |
tree | 1dfe4be92ac6b75d480d6acb231c4b0e54a1af7a /block | |
parent | 4095b94d3af8b05805b0fde192475b5578c73a48 (diff) | |
download | linux-0e89b2c9a2a6984af43d09de9d1bb44da9822ba2.tar.xz |
watchdog: wm8350: Simplify using devm_watchdog_register_device()
This allows to drop the .remove() function as it only exists to
unregister the watchdog device which is now done in a callback
registered by devm_watchdog_register_device().
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230307070404.2256308-4-u.kleine-koenig@pengutronix.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions