[PATCH] hwmon: applesmc: fix deprecated hwmon_device_register call

2017-07-01 Thread Cengiz Can
y MBP 11,2 with it. The warning is no longer shown. And the functionality doesn't seem to be broken. Thank you for reading this. Signed-off-by: Cengiz Can --- drivers/hwmon/applesmc.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/hwmon/applesmc.c b/dri

hwmon: How should we represent Apple SMC's temperature sensors?

2018-05-06 Thread Cengiz Can
hat's using SENSOR_DEVICE_ATTR or similar helpers to provide sysfs attributes in my refactored Apple SMC driver? Is there an example for that? 2) Should I just keep the manual sysfs creator method? (`drivers/hwmon/applesmc.c#L1108`). Is this acceptable? Thank you Cengiz Can

Re: [PATCH v2] hwmon: (applesmc) fix UB and udelay overflow

2019-09-30 Thread Cengiz Can
Build-tested-by: Nathan Chancellor Reviewed-by: Cengiz Can