Re: [PATCH] mtd: use DEFINE_SHOW_ATTRIBUTE() instead of open-coding it
From: Frank Lee
Date: Sun Dec 02 2018 - 03:46:47 EST
On Sun, Dec 2, 2018 at 4:40 PM Boris Brezillon
<boris.brezillon@xxxxxxxxxxx> wrote:
>
> Should be [PATCH v4]
>
> On Sun, 2 Dec 2018 03:33:58 -0500
> Yangtao Li <tiny.windzz@xxxxxxxxx> wrote:
>
> > DEFINE_SHOW_ATTRIBUTE macro can help us simplify the code,so change
> > to it.And change the DEBUGFS_RO_ATTR macro defined in some file to a
> > standard macro.
>
> You still don't put spaces after commas or periods
>
> >
> > Signed-off-by: Yangtao Li <tiny.windzz@xxxxxxxxx>
> > ---
>
> and you miss a changelog here.
---
Changes in v2:
-Remove a missing DEBUGFS_RO_ATTR
Changes in v3:
-remove the blank line between the function
definition and DEFINE_SHOW_ATTRIBUTE()
Changes in v4:
-update subject and changelog
---
Yours,
Yangtao
>
> Anyway, no need to send a new version, I'll fix the commit message when
> applying the patch.
>
> Thanks,
>
> Boris