iio:pressure:ms5611: Drop of_match_ptr and CONFIG_OF protections
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 10 Sep 2020 17:32:22 +0000 (18:32 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 21 Sep 2020 17:41:29 +0000 (18:41 +0100)
commit0e62470652faed4a657123373a5ff725320d0b3d
treeb6bbebb4a4fcf44e586083dcd02c3b940b874a18
parenteb25d0aa4ae02cc31d77c9b677713d3be37761d8
iio:pressure:ms5611: Drop of_match_ptr and CONFIG_OF protections

These prevents use of this driver with ACPI via PRP0001 and are
an example of an anti pattern I'm trying to remove from IIO.
Hence drop them from this driver.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Tomasz Duszynski <tduszyns@gmail.com>
Link: https://lore.kernel.org/r/20200910173242.621168-19-jic23@kernel.org
drivers/iio/pressure/ms5611_i2c.c
drivers/iio/pressure/ms5611_spi.c