diff options
| author | Cosmin Tanislav <[email protected]> | 2021-12-21 23:58:37 +0200 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2022-02-27 17:03:18 -0800 |
| commit | a748d30c37bb7d238e5869f4f4d6037367493ebe (patch) | |
| tree | 84d27a54b177d0dd9472789df42084833f763e60 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | af910e92886c35461ccc5ea234e17f448a46b876 (diff) | |
hwmon: (adt7x10) Use devm_hwmon_device_register_with_info
Describe the only available channel, implement read, write
and is_visible callbacks.
Also, pass name to core driver for the i2c device so that
it can be used to register hwmon device.
Signed-off-by: Cosmin Tanislav <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[groeck: Adjusted to use regmap]
Tested-by: Cosmin Tanislav <[email protected]>
Reviewed-by: Cosmin Tanislav <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions