commit | 44e3ad882bb268563766c45cd842a229dd3a4902 | [log] [tgz] |
---|---|---|
author | Akinobu Mita <akinobu.mita@gmail.com> | Mon May 04 23:57:44 2020 +0900 |
committer | Guenter Roeck <linux@roeck-us.net> | Fri May 22 06:28:38 2020 -0700 |
tree | 3555c947bdeb9cf4de275c27da6b84b633fae52c | |
parent | 5a56a39be7ffb416dd5ec5e1489d5a3a8b6a63f2 [diff] |
hwmon: Reduce indentation level in __hwmon_device_register() Reduce indentation level in __hwmon_device_register() by preparing a helper function. This just improves code readability. No functional change. Cc: Jean Delvare <jdelvare@suse.com> Cc: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>