Home
last modified time | relevance | path

Searched hist:"19061 b3c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/iio/potentiometer/
H A Dad5272.c19061b3c Thu Sep 10 12:32:05 CDT 2020 Jonathan Cameron <Jonathan.Cameron@huawei.com> 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
19061b3c Thu Sep 10 12:32:05 CDT 2020 Jonathan Cameron <Jonathan.Cameron@huawei.com> 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