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>
This commit is contained in:
Charles Keepax 2019-03-20 14:58:17 +00:00 • committed by Guenter Roeck
commit c43a113ca2