]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (scmi) port driver to the new scmi_sensor_proto_ops interface
authorCristian Marussi <cristian.marussi@arm.com>
Tue, 16 Mar 2021 12:48:49 +0000 (12:48 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Tue, 30 Mar 2021 15:34:55 +0000 (16:34 +0100)
commit7f783cfc1e7274d46eda1617fc5fce60331a59d3
tree910e93dd61aea000f903766ad8e9a54e40158af1
parent60b9ced8d7bc2d241b9f9a04f82e7a3393344302
hwmon: (scmi) port driver to the new scmi_sensor_proto_ops interface

Port the scmi hwmon driver to the new SCMI sensor interface based on
protocol handles and common devm_get_ops().

Link: https://lore.kernel.org/r/20210316124903.35011-25-cristian.marussi@arm.com
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Jean Delvare <jdelvare@suse.com>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/hwmon/scmi-hwmon.c