On Sun, Dec 2, 2018 at 3:18 PM Boris Brezillon
wrote:
>
> On Sat, 1 Dec 2018 20:54:17 -0500
> Yangtao Li wrote:
>
> > We already have the DEFINE_SHOW_ATTRIBUTE.There is no need to define
> > such a macro,so remove DEBUGFS_RO_ATTR.Also use DEFINE_SHOW_ATTRIBUTE
> > to simplify some code.
> >
> >
On Sat, 1 Dec 2018 20:54:17 -0500
Yangtao Li wrote:
> We already have the DEFINE_SHOW_ATTRIBUTE.There is no need to define
> such a macro,so remove DEBUGFS_RO_ATTR.Also use DEFINE_SHOW_ATTRIBUTE
> to simplify some code.
>
> Signed-off-by: Yangtao Li
> ---
> Changes in v2:
> -Remove a missing D
We already have the DEFINE_SHOW_ATTRIBUTE.There is no need to define
such a macro,so remove DEBUGFS_RO_ATTR.Also use DEFINE_SHOW_ATTRIBUTE
to simplify some code.
Signed-off-by: Yangtao Li
---
Changes in v2:
-Remove a missing DEBUGFS_RO_ATTR
---
drivers/mtd/devices/docg3.c| 20 ---
3 matches
Mail list logo