diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-06-28 13:36:39 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-07-07 20:24:08 +0100 |
commit | 29788fd607f00e8d14ec46b2ecbca4fe23dd9da8 (patch) | |
tree | 4fbf472993ad4dc884bb240e7ce9d55f180c6883 /virt | |
parent | 4b7dddb21a3d394a6ca1691725bc8c88c046b484 (diff) |
iio:adc:cpcap-adc: Drop of_match_ptr protection and use device_get_match_data
Part of a slow effort to avoid OF specific code in IIO.
Whilst the main advantages of this are not likely to be seen in this
particular driver (ACPI support via PRP0001) the change proposed
does make things a bit more maintainable and also ensures that
this particular (now) anti-patern is less likely to be cut and
paste into new drivers.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions