]> www.infradead.org Git - users/willy/xarray.git/commit
ASoC: topology: Replace fake root_device with kunit_device in tests
authordavidgow@google.com <davidgow@google.com>
Fri, 15 Dec 2023 07:39:11 +0000 (15:39 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 18 Dec 2023 20:28:08 +0000 (13:28 -0700)
commite57cdff0ddc493f23d510b0848a17d81028e329b
tree88220c30d407508e9f1876f97c47b9da1d0940bf
parent837018388e18bd740fb4f4371858f3e3a477fab8
ASoC: topology: Replace fake root_device with kunit_device in tests

Using struct root_device to create fake devices for tests is something
of a hack. The new struct kunit_device is meant for this purpose, so use
it instead.

Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
sound/soc/soc-topology-test.c