iio:potentiometer:mcp4131: Drop of_match_ptr and use generic fw interfaces.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 10 Sep 2020 17:32:11 +0000 (18:32 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 21 Sep 2020 17:41:26 +0000 (18:41 +0100)
commita51a834997861e720fddf81f942e090a6be26233
treedb052e75968402d4aa52ddbf40faedff89019e52
parent6fad8ae45692a12596d88f6e26103e35624c65c7
iio:potentiometer:mcp4131: Drop of_match_ptr and use generic fw interfaces.

This change allows the use of the driver with ACPI via PRP0001
and remove an example of an anti pattern I'm trying to remove from IIO.
Also adjust includes to reflect this change.

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-8-jic23@kernel.org
drivers/iio/potentiometer/mcp4131.c