diff options
author | Hao Peng <peng.hao2@zte.com.cn> | 2018-03-01 22:48:30 +0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2018-03-10 19:00:14 -0800 |
commit | 47591baa713cb23db7ea012bc1710f58efc14abf (patch) | |
tree | 302c5d456f22e4ee2ad05969e4ee698ff5ba0611 /drivers/hwmon/lm70.c | |
parent | b20edea9a666235c91175ab654e440345afdcdef (diff) |
hwmon: (g762) handle cleanup with devm_add_action
Simplify code and use devm_add_action() to handle cleanup.
Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
[groeck: Dropped unnecessary dummy function and NULL check]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/lm70.c')
0 files changed, 0 insertions, 0 deletions