commit | 9e37d3e2298e7ca2a9d210532c77a325d07816fe | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Sun Jun 19 17:06:48 2016 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Sat Jul 09 08:33:46 2016 -0700 |
tree | c31f107b0e23af70ddccd1b8c6bb38b3f4261034 | |
parent | eacc48ce3accfc9092594794b009a40f91331b0e [diff] |
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>