[alsa-devel] [PATCH] ASoC: tegra: Use devm_ioremap_resource instead of open code

Alexandre Courbot gnurou at gmail.com
Mon Aug 31 07:21:14 CEST 2015


On Mon, Aug 24, 2015 at 12:32 AM, Axel Lin <axel.lin at ingics.com> wrote:
> Use devm_ioremap_resource() to simplify the code.
>
> Signed-off-by: Axel Lin <axel.lin at ingics.com>
> ---
>  sound/soc/tegra/tegra20_das.c   | 23 ++++------------------
>  sound/soc/tegra/tegra20_i2s.c   | 23 ++++------------------
>  sound/soc/tegra/tegra20_spdif.c | 22 ++++-----------------
>  sound/soc/tegra/tegra30_ahub.c  | 43 +++++++----------------------------------
>  sound/soc/tegra/tegra30_i2s.c   | 23 ++++------------------
>  5 files changed, 23 insertions(+), 111 deletions(-)

Nice negative line count!

Acked-by: Alexandre Courbot <acourbot at nvidia.com>


More information about the Alsa-devel mailing list