ASoC: wm8804: Use new devres regulator_register_notifier
authorCharles Keepax <ckeepax@gmail.com>
Thu, 5 Mar 2015 15:39:21 +0000 (15:39 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 5 Mar 2015 16:51:58 +0000 (16:51 +0000)
This is more idiomatic and also fixes an issue where the notifiers were
being leaked if probe failed.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

No differences found