ARM: s3c: adc: move header to linux/soc/samsung
authorArnd Bergmann <arnd@arndb.de>
Thu, 6 Aug 2020 18:20:39 +0000 (20:20 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Wed, 19 Aug 2020 19:44:11 +0000 (21:44 +0200)
commit7dbad03ebcb924cde142f7477d65a54ffb1166a3
tree0a373f24c8ea80c765875998f09bd135186a9c28
parent95b415efff2cacb3ab3a159cc7aad1ec1ca3b81e
ARM: s3c: adc: move header to linux/soc/samsung

There are multiple drivers using the private adc interface.
It seems unlikely that they would ever get converted to iio,
so make the current state official by making the header file
global.

The s3c2410_ts driver needs a couple of register definitions
as well.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Sebastian Reichel <sre@kernel.org>
Link: https://lore.kernel.org/r/20200806182059.2431-22-krzk@kernel.org
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/mach-s3c64xx/mach-crag6410.c
arch/arm/mach-s3c64xx/mach-mini6410.c
arch/arm/mach-s3c64xx/mach-real6410.c
arch/arm/mach-s3c64xx/mach-smdk6410.c
arch/arm/plat-samsung/adc.c
arch/arm/plat-samsung/devs.c
arch/arm/plat-samsung/include/plat/adc.h [deleted file]
drivers/hwmon/s3c-hwmon.c
drivers/input/touchscreen/s3c2410_ts.c
drivers/power/supply/s3c_adc_battery.c
include/linux/soc/samsung/s3c-adc.h [new file with mode: 0644]