ASoC: mediatek: use of_device_get_match_data()
authorTzung-Bi Shih <tzungbi@google.com>
Mon, 27 Dec 2021 06:21:53 +0000 (14:21 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:23:21 +0000 (14:23 +0200)
commit56e0f1696a966e16b6eab07d43ce01d37de166ea
tree4d49e8b0fc8da16fc2e34fd2a765d49061aada2a
parent5441ab46dd431954acb73b9a0533b3a516e3db59
ASoC: mediatek: use of_device_get_match_data()

[ Upstream commit 3667a037e50a31555276a7989435126e501f0f15 ]

Uses of_device_get_match_data() helper to clean some boilerplate code.

Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20211227062153.3887447-1-tzungbi@google.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c
sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c
sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c