aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtdpstore.c
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2021-06-03 20:53:23 +0800
committerMiquel Raynal <miquel.raynal@bootlin.com>2021-06-11 20:42:57 +0200
commita17da115ac042fd560cba2f8e4057722cf0c42cd (patch)
treef35f95803c763dea305f9cade5124659e45bff65 /drivers/mtd/mtdpstore.c
parentmtd: core: add MTD_DEVICE_ATTR_RO/RW() helper macros (diff)
downloadlinux-dev-a17da115ac042fd560cba2f8e4057722cf0c42cd.tar.xz
linux-dev-a17da115ac042fd560cba2f8e4057722cf0c42cd.zip
mtd: core: use MTD_DEVICE_ATTR_RO/RW() helper macros
Use MTD_DEVICE_ATTR_RO/RW() helper macros instead of plain DEVICE_ATTR(), which makes the code a bit shorter and easier to read. Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20210603125323.12142-3-thunder.leizhen@huawei.com
Diffstat (limited to 'drivers/mtd/mtdpstore.c')
0 files changed, 0 insertions, 0 deletions