]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: rockchip: spdif: Use device_get_match_data()
authorSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 3 Feb 2026 16:46:23 +0000 (17:46 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 5 Feb 2026 18:46:40 +0000 (18:46 +0000)
commit27b5096ef0f3a78441128b993f0353a77f2f5f53
tree95b5630d9767c3715154edcac72e7ca095a827ea
parentfef1f756155c30511397bbcd9d55640ab2e44d99
ASoC: rockchip: spdif: Use device_get_match_data()

Use device_get_match_data(), so that the probe routine does not
directly reference the of_match_table. This allows moving the
table at the end of the file where most recent drivers have it.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://patch.msgid.link/20260203-rockchip-spdif-cleanup-and-bsp-sync-v2-1-4412016cf577@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_spdif.c