summaryrefslogtreecommitdiff
path: root/drivers/hwmon/abituguru3.c
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2020-09-10 18:32:06 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-09-17 19:13:38 +0100
commitc34bed923d40ef197412b0fa0b4b79892b7f6035 (patch)
tree80abbf2b464e5d9901674712a05cb0e8a8532ff7 /drivers/hwmon/abituguru3.c
parent19061b3c590d20ed555cbe848427ef5e69d18559 (diff)
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 'drivers/hwmon/abituguru3.c')
0 files changed, 0 insertions, 0 deletions