[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75Vdm3O5xiemr-H_nF__g43pe_f-Gp6QsOoRW-DXAXrm+YQ@mail.gmail.com>
Date: Fri, 9 Feb 2018 15:21:17 +0200
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Donglin Peng <dolinux.peng@...il.com>
Cc: Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
ALSA Development Mailing List <alsa-devel@...a-project.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ASoC: use DEFINE_SHOW_ATTRIBUTE() to decrease code duplication
On Fri, Feb 9, 2018 at 8:58 AM, Donglin Peng <dolinux.peng@...il.com> wrote:
> There is some duplicate code in soc-core.c,and the kernel provides
'core.c,and' -> 'core.c, and'
> +static int codec_list_show(struct seq_file *s, void *v)
No need to rename m -> s.
> +static int dai_list_show(struct seq_file *s, void *v)
Ditto.
> +static int platform_list_show(struct seq_file *s, void *v)
Ditto.
After addressing above,
Reviewed-by: Andy Shevchenko <andy.shevchenko@...il.com>
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists