summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorCosmin Tanislav <cosmin.tanislav@analog.com>2021-12-22 00:58:37 +0300
committerGuenter Roeck <linux@roeck-us.net>2022-02-28 04:03:18 +0300
commita748d30c37bb7d238e5869f4f4d6037367493ebe (patch)
tree84d27a54b177d0dd9472789df42084833f763e60 /tools/perf/scripts/python/export-to-postgresql.py
parentaf910e92886c35461ccc5ea234e17f448a46b876 (diff)
downloadlinux-a748d30c37bb7d238e5869f4f4d6037367493ebe.tar.xz
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 <cosmin.tanislav@analog.com> Link: https://lore.kernel.org/r/20211221215841.2641417-4-demonsingur@gmail.com [groeck: Adjusted to use regmap] Tested-by: Cosmin Tanislav <cosmin.tanislav@analog.com> Reviewed-by: Cosmin Tanislav <cosmin.tanislav@analog.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions