diff options
author | Yangtao Li <tiny.windzz@gmail.com> | 2018-12-02 03:33:58 -0500 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-12-03 11:32:26 +0100 |
commit | c78f59d7145e7f729c8df58fa7f99ecf66225ddc (patch) | |
tree | d5043a0cc6b3d1f36712c87a414141416ac8dfed /drivers/mtd/maps | |
parent | bafae53817e7f3a47ed74cd03152e166aa639131 (diff) | |
download | linux-c78f59d7145e7f729c8df58fa7f99ecf66225ddc.tar.bz2 |
mtd: use DEFINE_SHOW_ATTRIBUTE() instead of open-coding it
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@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'drivers/mtd/maps')
0 files changed, 0 insertions, 0 deletions