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: NCharles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
Showing
想要评论请 注册 或 登录