[alsa-devel] [PATCH 2/4] ASoC: tlv320dac3: Use devm_regulator_bulk_get()
Jarkko Nikula
jarkko.nikula at linux.intel.com
Fri Apr 25 07:39:20 CEST 2014
On 04/25/2014 04:27 AM, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at freescale.com>
>
> Using devm_regulator_bulk_get() can make the code cleaner and smaller as we
> do not need to call regulator_bulk_free() in the error and remove paths.
>
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
> ---
> sound/soc/codecs/c.c | 7 ++-----
> 1 file changed, 2 insertions(+), 5 deletions(-)
>
> diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c
> index 763b265..5ada616 100644
> --- a/sound/soc/codecs/wm8731.c
> +++ b/sound/soc/codecs/wm8731.c
>
Patch title, c.c (?) and wm8731.c doesn't match.
--
Jarkko
More information about the Alsa-devel
mailing list