summaryrefslogtreecommitdiff
path: root/drivers/hwmon/wm8350-hwmon.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2016-06-20 03:06:48 +0300
committerGuenter Roeck <linux@roeck-us.net>2016-07-09 18:33:46 +0300
commit9e37d3e2298e7ca2a9d210532c77a325d07816fe (patch)
treec31f107b0e23af70ddccd1b8c6bb38b3f4261034 /drivers/hwmon/wm8350-hwmon.c
parenteacc48ce3accfc9092594794b009a40f91331b0e (diff)
downloadlinux-9e37d3e2298e7ca2a9d210532c77a325d07816fe.tar.xz
hwmon: (lm75) Handle cleanup with devm_add_action
Use devm_add_action() to register the function to restore the original chip configuration. Use devm_hwmon_device_register_with_groups() to register the hwmon device, and drop the remove function as no longer needed. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/wm8350-hwmon.c')
0 files changed, 0 insertions, 0 deletions