hwmon: (ntc_thermistor) Merge platform data
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 25 Nov 2021 02:08:41 +0000 (03:08 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 26 Dec 2021 23:02:06 +0000 (15:02 -0800)
commite380095b8018acd9f962a9020251c5d8f1191e49
tree408065af1d0b9a392f57d181bf8b32504dbdd237
parent209218efd6ac8bebfe85fd2bc3ad64e5c3bad0a8
hwmon: (ntc_thermistor) Merge platform data

Allocate one state container for the device: struct ntc_data.
Move all items from struct ntc_thermistor_platform_data into
this struct and simplify.

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-5-linus.walleij@linaro.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ntc_thermistor.c