Re: [PATCH v4] ASoC: use DEFINE_SHOW_ATTRIBUTE() to decrease code duplication

2018-02-14 Thread Donglin Peng
On Wed, Feb 14, 2018 at 10:53 PM, Mark Brown wrote: > On Wed, Feb 14, 2018 at 10:48:07PM +0800, Peng Donglin wrote: > >> v4: >> * resend patch using outlook email, because I can't disable gmail >>word wrap in plain text mode > > Using Outlook for better interaction with

Re: [PATCH v4] ASoC: use DEFINE_SHOW_ATTRIBUTE() to decrease code duplication

2018-02-14 Thread Donglin Peng
On Wed, Feb 14, 2018 at 10:53 PM, Mark Brown wrote: > On Wed, Feb 14, 2018 at 10:48:07PM +0800, Peng Donglin wrote: > >> v4: >> * resend patch using outlook email, because I can't disable gmail >>word wrap in plain text mode > > Using Outlook for better interaction with the lists! Okay, I

Re: [PATCH v4] ASoC: use DEFINE_SHOW_ATTRIBUTE() to decrease code duplication

2018-02-14 Thread Mark Brown
On Wed, Feb 14, 2018 at 10:48:07PM +0800, Peng Donglin wrote: > v4: > * resend patch using outlook email, because I can't disable gmail >word wrap in plain text mode Using Outlook for better interaction with the lists! signature.asc Description: PGP signature

Re: [PATCH v4] ASoC: use DEFINE_SHOW_ATTRIBUTE() to decrease code duplication

2018-02-14 Thread Mark Brown
On Wed, Feb 14, 2018 at 10:48:07PM +0800, Peng Donglin wrote: > v4: > * resend patch using outlook email, because I can't disable gmail >word wrap in plain text mode Using Outlook for better interaction with the lists! signature.asc Description: PGP signature

[PATCH v4] ASoC: use DEFINE_SHOW_ATTRIBUTE() to decrease code duplication

2018-02-14 Thread Peng Donglin
There is some duplicate code in soc-core.c, and the kernel provides DEFINE_SHOW_ATTRIBUTE() helper macro to decrease it in seq_file.h. Signed-off-by: Peng Donglin Reviewed-by: Andy Shevchenko --- v4: * resend patch using outlook email, because

[PATCH v4] ASoC: use DEFINE_SHOW_ATTRIBUTE() to decrease code duplication

2018-02-14 Thread Peng Donglin
There is some duplicate code in soc-core.c, and the kernel provides DEFINE_SHOW_ATTRIBUTE() helper macro to decrease it in seq_file.h. Signed-off-by: Peng Donglin Reviewed-by: Andy Shevchenko --- v4: * resend patch using outlook email, because I can't disable gmail word wrap in plain text