]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl: pcm030-audio-fabric: use platform_device_unregsiter()
authorYang Yingliang <yangyingliang@huawei.com>
Mon, 4 Jul 2022 07:51:34 +0000 (15:51 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 4 Jul 2022 11:44:17 +0000 (12:44 +0100)
commitbc48653eda405cf7687e6037c5d186fbd7833e3b
tree550881b227ea9e86036dd9cba539a7479462c832
parent33a9414ebb8ed1d8aebefe4f9df3d722b8a826b6
ASoC: fsl: pcm030-audio-fabric: use platform_device_unregsiter()

Replace platform_device_del/put() with platform_device_unregsiter()
to simplify code.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220704075134.26230-1-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/pcm030-audio-fabric.c