]> git.baikalelectronics.ru Git - kernel.git/commit
iio:adc:sd_adc_modulator: Drop of_match_ptr and tweak includes
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 28 Jun 2020 12:36:45 +0000 (13:36 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 7 Jul 2020 19:24:09 +0000 (20:24 +0100)
commit73493d3c6b010036b7238d46f0aeac7217f63466
treef01574c5a5c53e78313662c049e3683d414fb4f8
parent1865398cd17c10f5d59e65c6d5ea2314ce8bebed
iio:adc:sd_adc_modulator: Drop of_match_ptr and tweak includes

Dropping of_match_ptr allows this driver to be used with ACPI.
The header includes are adjusted to include platform_device.h
and mod_devicetable.h instead of OF specific header as nothing
from that header itself is actually used.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
drivers/iio/adc/sd_adc_modulator.c