ASoC: regulator notifier registration should be managed
authorGuennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Fri, 8 Feb 2019 13:45:20 +0000 (14:45 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 8 Feb 2019 16:18:49 +0000 (16:18 +0000)
commit0bb423f2eaafedf89715c482a543dcd629ba3946
tree87a45e601cda565f0c66fb46012c9409f7fc16a9
parent510135535382db7f5ee8727818172e42c9c9cbd5
ASoC: regulator notifier registration should be managed

Regulator notifiers, that were registered during codec driver probing,
must be unregistered during driver release, or device managed versions
have to be used. This patch fixes codec drivers, that weren't explicitly
unregistering notifiers and simplifies those, that did that manually.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max9860.c
sound/soc/codecs/pcm512x.c
sound/soc/codecs/tlv320aic31xx.c
sound/soc/codecs/tlv320aic3x.c
sound/soc/codecs/wm8770.c
sound/soc/codecs/wm8962.c
sound/soc/codecs/wm8995.c
sound/soc/codecs/wm8996.c