hwmon: (k10temp) Auto-convert to use SENSOR_DEVICE_ATTR_{RO, RW, WO}
mainline inclusion from mainline-v5.0-rc1 commit fac5ba6f category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I7DX6V CVE: NA Reference: https://git.kernel.org/torvalds/c/fac5ba6f5bf7fe9d2923ac4bbd85fa905f249633 --------------------------- commit fac5ba6f upstream. Auto-conversion was done done using the coccinelle script at https://github.com/groeck/coccinelle-patches/blob/master/hwmon/sensor-devattr-w6.cocci Signed-off-by:Guenter Roeck <linux@roeck-us.net> Signed-off-by:
Pu Wen <puwen@hygon.cn>
Loading
Please sign in to comment