]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: Add convience macro to define simple static sensors
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Wed, 20 Mar 2019 14:58:17 +0000 (14:58 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 16 Apr 2019 00:19:53 +0000 (17:19 -0700)
commited0bc83b01c1709278acdb2d7eb67cedf5aff867
tree50c0115ea1f1177c373ff2c3f8f32529fba851f8
parent3542a8d395a5c3b141d4ed161cd673f10a88d121
hwmon: Add convience macro to define simple static sensors

It takes a fair amount of boiler plate code to add new sensors, add a
macro that can be used to specify simple static sensors.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
include/linux/hwmon.h