Skip to content
Commit 53469fa5 authored by Jonathan Cameron's avatar Jonathan Cameron
Browse files

iio:adc:max1027: drop of_match_ptr and CONFIG_OF protections



These just prevent the driver being used with ACPI PRP0001
and provide no major benefits.

Part of clearing these out in general in IIO to avoid cut and paste
repetition in new drivers.  Also include mod_devicetable.h as we
directly make use of of_device_id which is defined in there.

Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: Philippe Reynes <tremyfr@yahoo.fr>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
parent f84ff467
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment