Unverified Commit 46537a86 authored by Rob Herring's avatar Rob Herring Committed by Mark Brown
Browse files

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: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231017203429.2699039-1-robh@kernel.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent a8b4962f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment