diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2020-05-04 23:57:44 +0900 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2020-05-22 06:28:38 -0700 |
commit | 44e3ad882bb268563766c45cd842a229dd3a4902 (patch) | |
tree | 3555c947bdeb9cf4de275c27da6b84b633fae52c /tools/perf/scripts/python/exported-sql-viewer.py | |
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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions