diff options
author | Rob Herring <robh@kernel.org> | 2023-10-17 15:34:28 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-10-17 21:38:47 +0100 |
commit | 46537a8676d6555141c4b98ec1bf5f3eea971128 (patch) | |
tree | 772c9ce4cd0b8d4e6c9be504760634b0c1520294 /drivers/regulator/qcom_spmi-regulator.c | |
parent | a8b4962fbd004d7d4fcbf01ce7dc27fcef406199 (diff) | |
download | lwn-46537a8676d6555141c4b98ec1bf5f3eea971128.tar.gz lwn-46537a8676d6555141c4b98ec1bf5f3eea971128.zip |
regulator: da9121: Use i2c_get_match_data()
Use preferred i2c_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/20231017203429.2699039-1-robh@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/qcom_spmi-regulator.c')
0 files changed, 0 insertions, 0 deletions