OSDN Git Service

ASoC: cs42l42: Remove unused runtime_suspend/runtime_resume callbacks
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Mon, 18 Oct 2021 16:44:31 +0000 (17:44 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 22 Oct 2021 00:55:25 +0000 (01:55 +0100)
commitc778c01d3e665045d29d548d946f7cd64aec0ff9
treeff914209719c4e37798c6841cde4733f98dce72a
parent6cace797f1a8d54ecb42a3d327cbc0b231114ed0
ASoC: cs42l42: Remove unused runtime_suspend/runtime_resume callbacks

The driver has runtime_suspend and runtime_resume callbacks, but
pm_runtime is never enabled so these functions won't be called. They
could not be used anyway because the runtime_suspend would cause jack
detect to stop working.

These functions are unused - delete them.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20211018164431.5871-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l42.c