diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-09-10 19:32:06 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-09-17 20:13:38 +0200 |
commit | c34bed923d40ef197412b0fa0b4b79892b7f6035 (patch) | |
tree | 80abbf2b464e5d9901674712a05cb0e8a8532ff7 /CREDITS | |
parent | iio:potentiometer:ad5272: Drop of_match_ptr and CONFIG_OF protections. (diff) | |
download | linux-c34bed923d40ef197412b0fa0b4b79892b7f6035.tar.xz linux-c34bed923d40ef197412b0fa0b4b79892b7f6035.zip |
iio:potentiometer:ds1803: 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 switch of.h for 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: Slawomir Stepien <sst@poczta.fm>
Link: https://lore.kernel.org/r/20200910173242.621168-3-jic23@kernel.org
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions