diff options
| author | Jonathan Cameron <[email protected]> | 2020-09-10 18:32:33 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2020-09-21 18:41:32 +0100 |
| commit | b3fce99a57377673eaf7c89ae9a42f4fd60966e2 (patch) | |
| tree | 7e4354309be96b381cb52858198ff119afa47e11 /scripts/const_structs.checkpatch | |
| parent | e12b3a6150f1ce271e2a5282d3cfd116a144d796 (diff) | |
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 <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Acked-by: Matt Ranostay <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions