]> git.baikalelectronics.ru Git - kernel.git/commit
iio:potentiostat:lmp91000: Drop of_match_ptr and use generic fw accessors
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 10 Sep 2020 17:32:20 +0000 (18:32 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 21 Sep 2020 17:41:29 +0000 (18:41 +0100)
commitc3d523ca38b4b26159f42947f5a70466e992d872
tree2145d3af2793e8d9d5a2bcaa1140dc930acc30a3
parent88db2b2a0f56e4789e21dc7b44f8a8afe2e98c8a
iio:potentiostat:lmp91000: Drop of_match_ptr and use generic fw accessors

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

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Matt Ranostay <matt.ranostay@konsulko.com>
Link: https://lore.kernel.org/r/20200910173242.621168-17-jic23@kernel.org
drivers/iio/potentiostat/lmp91000.c