Searched hist:a748d30c (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/hwmon/ |
H A D | adt7x10.c | a748d30c Tue Dec 21 15:58:37 CST 2021 Cosmin Tanislav <cosmin.tanislav@analog.com> 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>
|
H A D | adt7410.c | a748d30c Tue Dec 21 15:58:37 CST 2021 Cosmin Tanislav <cosmin.tanislav@analog.com> 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>
|