summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/cs35l56.c
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.cirrus.com>2023-09-14 18:09:16 +0300
committerMark Brown <broonie@kernel.org>2023-09-14 18:12:47 +0300
commit3d3a86679541044a65ea23175cb95206921c8fe2 (patch)
tree7cae87ab8382b1e2d7ee1bd9e977864d90e90a7d /sound/soc/codecs/cs35l56.c
parent353bc9924cb1b7176fdc4ebb3610306398f41c94 (diff)
downloadlinux-3d3a86679541044a65ea23175cb95206921c8fe2.tar.xz
ASoC: cs35l56: Use pm_ptr()
Use pm_ptr() when setting the pointer to the dev_pm_ops so that it will be NULL if CONFIG_PM is disabled. This allows the dev_pm_ops to be compiled out in that case. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://lore.kernel.org/r/20230914150918.14505-2-rf@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs35l56.c')
0 files changed, 0 insertions, 0 deletions