Re: mtd: use DEFINE_SHOW_ATTRIBUTE() instead of open-coding it
From: Boris Brezillon
Date: Mon Dec 03 2018 - 02:51:59 EST
On Sun, 2018-12-02 at 08:33:58 UTC, Yangtao Li 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.
>
> Signed-off-by: Yangtao Li <tiny.windzz@xxxxxxxxx>
Applied to http://git.infradead.org/linux-mtd.git mtd/next, thanks.
Boris