Skip to content
Commit 7a3e190f authored by Jonathan Cameron's avatar Jonathan Cameron
Browse files

iio:adc:max11100: Drop of_match_ptr protection / add mod_devicetable.h include



Allows use of driver with ACPI PRP0001 base binding.
Mostly this is about trying to avoid cut and paste of this into new
drivers (it is a frequent review comment) rather than any
thought that this driver might get used on an ACPI platform.

The mod_devicetable.h include is to encourage best practice of including
any header directly used within the code (here for of_match_id)

Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: default avatarJacopo Mondi <jacopo@jmondi.org>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
parent 0a9a500a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment