diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-09-10 20:32:33 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-09-21 20:41:32 +0300 |
commit | b3fce99a57377673eaf7c89ae9a42f4fd60966e2 (patch) | |
tree | 7e4354309be96b381cb52858198ff119afa47e11 /include/linux/fpga/fpga-mgr.h | |
parent | e12b3a6150f1ce271e2a5282d3cfd116a144d796 (diff) | |
download | linux-b3fce99a57377673eaf7c89ae9a42f4fd60966e2.tar.xz |
iio:chemical:vz89x: Drop of_match_ptr protection and use generic fw accessors
This change allow the driver to be used with ACPI PRP0001 and removes
an antipattern that I want to avoid being copied into new IIO drivers.
The handling of match_data uses a different approach as
device_get_match_data() doesn't distinguish between no match, and
a match but with NULL data.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Matt Ranostay <matt.ranostay@konsulko.com>
Link: https://lore.kernel.org/r/20200910173242.621168-30-jic23@kernel.org
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions