commit | 47591baa713cb23db7ea012bc1710f58efc14abf | [log] [tgz] |
---|---|---|
author | Hao Peng <peng.hao2@zte.com.cn> | Thu Mar 01 22:48:30 2018 +0800 |
committer | Guenter Roeck <linux@roeck-us.net> | Sat Mar 10 19:00:14 2018 -0800 |
tree | 302c5d456f22e4ee2ad05969e4ee698ff5ba0611 | |
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>