hwmon: (ntc_thermistor) Merge platform data into driver
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 25 Nov 2021 02:08:38 +0000 (03:08 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 26 Dec 2021 23:02:05 +0000 (15:02 -0800)
commit11a24ca7e34d968991a7d437b950d1924396bd81
tree4d074cbb6c86a3c5712e13eaec69a238c67aa85a
parentbf4d843050af4fde7e8514b4b5ffe79874ee3936
hwmon: (ntc_thermistor) Merge platform data into driver

Platform data is supposed to be used with "board files",
device descriptions in C. Since the introduction of the
NTC driver in 2011, no such platforms have been submitted
to the Linux kernel, and their use is strongly discouraged
in favor of Device Tree, ACPI or as last resort software
firmware nodes.

Drop the external header and copy the platform data into
the driver file.

Cc: Peter Rosin <peda@axentia.se>
Cc: Chris Lesiak <chris.lesiak@licor.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20211125020841.3616359-2-linus.walleij@linaro.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ntc_thermistor.c
include/linux/platform_data/ntc_thermistor.h [deleted file]