linux/drivers/iio/potentiometer
Jonathan Cameron 19061b3c59 iio:potentiometer:ad5272: Drop of_match_ptr and CONFIG_OF protections.
These prevent use of this driver with ACPI via PRP0001 and are
an example of an anti pattern I'm trying to remove from IIO.
Drop them to remove this restriction.

Also added mod_devicetable.h include given use of struct of_device_id
which is defined in that header.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Phil Reid <preid@eletromag.com.au>
Link: https://lore.kernel.org/r/20200910173242.621168-2-jic23@kernel.org
2020-09-17 19:13:34 +01:00
..
ad5272.c iio:potentiometer:ad5272: Drop of_match_ptr and CONFIG_OF protections. 2020-09-17 19:13:34 +01:00
ds1803.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
Kconfig iio: potentiometer: add a driver for Maxim 5432-5435 2019-08-05 14:25:08 +01:00
Makefile iio: potentiometer: add a driver for Maxim 5432-5435 2019-08-05 14:25:08 +01:00
max5432.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
max5481.c Replace HTTP links with HTTPS ones: drivers/iio 2020-07-13 15:05:59 +01:00
max5487.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
mcp4018.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
mcp4131.c Replace HTTP links with HTTPS ones: drivers/iio 2020-07-13 15:05:59 +01:00
mcp4531.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
mcp41010.c Replace HTTP links with HTTPS ones: drivers/iio 2020-07-13 15:05:59 +01:00
tpl0102.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00