regulator: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Tue, 17 Oct 2023 20:34:41 +0000 (15:34 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 17 Oct 2023 20:38:48 +0000 (21:38 +0100)
commit8f7e17d847edf6bc02d0813b123b9d78ba504098
tree120904e8da64019d8776c30c7c05959470e5e9b5
parent46537a8676d6555141c4b98ec1bf5f3eea971128
regulator: 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/20231017203442.2699322-1-robh@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/lochnagar-regulator.c
drivers/regulator/palmas-regulator.c
drivers/regulator/qcom-labibb-regulator.c
drivers/regulator/qcom_rpm-regulator.c
drivers/regulator/qcom_spmi-regulator.c
drivers/regulator/stm32-booster.c
drivers/regulator/ti-abb-regulator.c