diff options
| author | Jonathan Cameron <[email protected]> | 2020-09-10 18:32:10 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2020-09-21 18:41:26 +0100 |
| commit | 6fad8ae45692a12596d88f6e26103e35624c65c7 (patch) | |
| tree | f583a467d6b1e5b8fbecfb07df2479ed82bcc5d7 /tools/perf/scripts/python | |
| parent | 9c5149cd92e477b83550a28e486e3c72c2724257 (diff) | |
iio:potentiometer:mcp4018: Drop of_match_ptr and CONFIG_OF protections.
These prevent use of this driver with ACPI via PRP0001 and are
an example of an anti pattern I'm trying to remove from IIO.
Also use device_get_match_data() rather than devicetree only version.
Signed-off-by: Jonathan Cameron <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Cc: Peter Rosin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions