On 02/28/2018 07:51 AM, Peng Hao wrote:
Simplify code and use devm_add_action() to handle cleanup.
Signed-off-by: Peng Hao
Excellent idea. Some suggestions for improvements below.
---
drivers/hwmon/g762.c | 30 ++
1 file changed, 14 insertions(+), 16 deletions
Simplify code and use devm_add_action() to handle cleanup.
Signed-off-by: Peng Hao
---
drivers/hwmon/g762.c | 30 ++
1 file changed, 14 insertions(+), 16 deletions(-)
diff --git a/drivers/hwmon/g762.c b/drivers/hwmon/g762.c
index 6d1208b..48e60d8 100644
--- a/drivers