diff options
| author | Michael Shych <michaelsh@nvidia.com> | 2022-01-18 09:56:10 +0200 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2022-02-27 17:03:17 -0800 |
| commit | 915d4664b7158d8d0f44da810186742c69300f02 (patch) | |
| tree | a94fdd53abe632ed8077cb9aa01820f3c000b838 /tools/perf/scripts/python | |
| parent | hwmon: (powr1220) Cosmetic changes (diff) | |
| download | linux-915d4664b7158d8d0f44da810186742c69300f02.tar.gz linux-915d4664b7158d8d0f44da810186742c69300f02.zip | |
hwmon: (powr1220) Upgrade driver to support hwmon info infrastructure
Reduce code by using devm_hwmon_device_register_with_groups() API by
devm_hwmon_device_register_with_info() API.
The motivation is to reduce code and to allow easy support for similar
devices by the same driver.
Signed-off-by: Michael Shych <michaelsh@nvidia.com>
Reviewed-by: Vadim Pasternak <vadimp@nvidia.com>
Link: https://lore.kernel.org/r/20220118075611.10665-3-michaelsh@nvidia.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
