summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/aht10.c
diff options
context:
space:
mode:
authorArmin Wolf <W_Armin@gmx.de>2022-12-24 05:18:55 +0100
committerGuenter Roeck <linux@roeck-us.net>2023-02-03 07:30:09 -0800
commite1515a749276efeff18b091f3367c3e4640ad497 (patch)
tree9fc1ec627ade548d2d59a189aee0324360d496fd /drivers/hwmon/aht10.c
parentebd4bfee2b972d34a2f72f81767d0cf47e6c914b (diff)
downloadlinux-stable-e1515a749276efeff18b091f3367c3e4640ad497.tar.gz
linux-stable-e1515a749276efeff18b091f3367c3e4640ad497.tar.bz2
linux-stable-e1515a749276efeff18b091f3367c3e4640ad497.zip
hwmon: (ftsteutates) Use devm_watchdog_register_device()
Use devm_watchdog_register_device() to let devres take care of unregistering the watchdog at device removal. Remove the now pointless fts_remove() function. Tested on a Fujitsu DS3401-B1. Signed-off-by: Armin Wolf <W_Armin@gmx.de> Link: https://lore.kernel.org/r/20221224041855.83981-4-W_Armin@gmx.de Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/aht10.c')
0 files changed, 0 insertions, 0 deletions