aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2020-09-10 18:32:12 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-09-21 18:41:27 +0100
commit20e39f3aa278667a50d3b5b6f467538ab0e1d5ce (patch)
tree08389c309743722bd62d67d084d9e4b3cc1015fd /drivers/iio/dac
parentiio:potentiometer:mcp4131: Drop of_match_ptr and use generic fw interfaces. (diff)
downloadlinux-dev-20e39f3aa278667a50d3b5b6f467538ab0e1d5ce.tar.xz
linux-dev-20e39f3aa278667a50d3b5b6f467538ab0e1d5ce.zip
iio:potentiometer:mcp4531: 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. Hence drop them from this driver. Also switch to device_get_match_data() from of_ variant and adjust headers to reflect the change. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Cc: Peter Rosin <peda@axentia.se> Link: https://lore.kernel.org/r/20200910173242.621168-9-jic23@kernel.org
Diffstat (limited to 'drivers/iio/dac')
0 files changed, 0 insertions, 0 deletions