diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-09-10 18:32:10 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-09-21 18:41:26 +0100 |
commit | 6fad8ae45692a12596d88f6e26103e35624c65c7 (patch) | |
tree | f583a467d6b1e5b8fbecfb07df2479ed82bcc5d7 /Makefile | |
parent | 9c5149cd92e477b83550a28e486e3c72c2724257 (diff) |
iio:potentiometer:mcp4018: 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.
Also use device_get_match_data() rather than devicetree only version.
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-7-jic23@kernel.org
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions