]> git.baikalelectronics.ru Git - kernel.git/commit
iio:potentiometer:max5432: Drop of_match_ptr and use generic fw accessors
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 10 Sep 2020 17:32:07 +0000 (18:32 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 21 Sep 2020 17:41:08 +0000 (18:41 +0100)
commit304f7d2326ac2eb66d6a1921421b9608c0c5684c
tree77cd7fb0e56f28f034566cdfd7060ffbe19ca2e7
parent25508d04371ce861332eaf4c9096ff102ba0ee43
iio:potentiometer:max5432: Drop of_match_ptr and use generic fw accessors

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 headers to reflect this change.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20200910173242.621168-4-jic23@kernel.org
drivers/iio/potentiometer/max5432.c