diff options
author | Rob Herring <robh@kernel.org> | 2023-10-06 17:44:39 -0500 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-10-14 17:18:36 +0100 |
commit | 89a1d2f064d2ae77a9cd6a8c7ac42b3c1647efa5 (patch) | |
tree | ef58634d77892dcf2a641cf5f70fc95d26ff0f9a /drivers/iio/adc/meson_saradc.c | |
parent | 349c1b49ffafd9f0e49153599efd5cd251ba60b1 (diff) | |
download | lwn-89a1d2f064d2ae77a9cd6a8c7ac42b3c1647efa5.tar.gz lwn-89a1d2f064d2ae77a9cd6a8c7ac42b3c1647efa5.zip |
iio: Use device_get_match_data()
Use preferred device_get_match_data() instead of of_match_device() to
get the driver match data. With this, adjust the includes to explicitly
include the correct headers.
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231006224440.442864-1-robh@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/meson_saradc.c')
0 files changed, 0 insertions, 0 deletions