Skip to content
Commit 47591baa authored by Hao Peng's avatar Hao Peng Committed by Guenter Roeck
Browse files

hwmon: (g762) handle cleanup with devm_add_action



Simplify code and use devm_add_action() to handle cleanup.

Signed-off-by: default avatarPeng Hao <peng.hao2@zte.com.cn>
[groeck: Dropped unnecessary dummy function and NULL check]
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent b20edea9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment