On Thu, Nov 25, 2021 at 03:08:37AM +0100, Linus Walleij wrote: > Since this driver was merged in 2011 nothing in the kernel > has ever used the platform data intended for boardfiles. > > Drop this support burden: everyone and their dog is using > this with OF and IIO now. > > If there are out-of-tree users who need this, this is the > time to start submitting that platform upstream and stop > working in the shadows. (This will invariably involve having > to convert the platform to OF (or ACPI!).) > > Linus Walleij (4): > hwmon: (ntc_thermistor) Merge platform data into driver > hwmon: (ntc_thermistor) Drop get_ohm() > hwmon: (ntc_thermistor) Drop read_uv() depend on OF and IIO > hwmon: (ntc_thermistor) Merge platform data > > Cc: Peter Rosin <peda@xxxxxxxxxx> > Cc: Chris Lesiak <chris.lesiak@xxxxxxxxx> > > drivers/hwmon/Kconfig | 5 +- > drivers/hwmon/ntc_thermistor.c | 148 ++++++++----------- > include/linux/platform_data/ntc_thermistor.h | 50 ------- > 3 files changed, 66 insertions(+), 137 deletions(-) > delete mode 100644 include/linux/platform_data/ntc_thermistor.h > The series looks reasonable to me. I'll apply it to hwmon-next. Guenter