[alsa-devel] [PATCH 1/4] ASoC: tlv320dac3: Use devm_regulator_bulk_get()

Jarkko Nikula jarkko.nikula at linux.intel.com
Fri Apr 25 07:39:13 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/tlv320dac33.c | 8 ++------
>   1 file changed, 2 insertions(+), 6 deletions(-)
>
Small typo in patch title: tlv320dac3 instead of tlv320dac33.

-- 
Jarkko


More information about the Alsa-devel mailing list