diff options
author | Rob Herring <robh@kernel.org> | 2023-10-06 15:09:12 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-10-09 13:13:57 +0100 |
commit | fe26425518862020449cb2c9709e62cc76a56de2 (patch) | |
tree | f1edfe171b8db8263f8383ab2e78ee23c60816f3 /sound/Kconfig | |
parent | 56c075b2d31c626370481a62d334a0575f751522 (diff) |
ASoC: da7218: Use i2c_get_match_data()
Use preferred i2c_get_match_data() instead of of_match_device() and
i2c_match_id() to get the driver match data. With this, adjust the
includes to explicitly include the correct headers.
Avoid using 0 for enum da7218_dev_id so that no match data can be
distinguished.
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231006-dt-asoc-header-cleanups-v3-3-13a4f0f7fee6@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/Kconfig')
0 files changed, 0 insertions, 0 deletions