hwmon: Add convience macro to define simple static sensors
mainline inclusion from mainline-v5.2-rc1 commit c43a113c category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I7DX6V CVE: NA Reference: https://git.kernel.org/torvalds/c/c43a113ca2c807c3e66a5de0ec57d69803b8bc10 --------------------------- commit c43a113c upstream. 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> Signed-off-by:
Pu Wen <puwen@hygon.cn>
Loading
Please sign in to comment