]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
iio:adc:lpc32xx: Drop of_match_ptr protection
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 28 Jun 2020 12:36:32 +0000 (13:36 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 7 Jul 2020 19:24:08 +0000 (20:24 +0100)
commit7277a74a6cbc7a6c96e8be8271593426ab4c00c5
tree0e9ffb51a6ca2581ba3d8dbf121e7213e463f2d9
parent0954bc9787e749e754cde0ca53f700c24a117dda
iio:adc:lpc32xx: Drop of_match_ptr protection

Whilst is unlikely anyone will be using this part with an ACPI PRP0001
based binding any time soon, we are getting a lot of cut and pasting
of this pattern so I am looking to remove it entirely from IIO.

In this case CONFIG_OF protections also removed and
mod_devicetable.h include added given direct use of struct of_device_id.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
drivers/iio/adc/lpc32xx_adc.c