commit | b4e248632c968d985f0ecfd7924423fbefc39d1c | [log] [tgz] |
---|---|---|
author | Zhen Lei <thunder.leizhen@huawei.com> | Thu Jun 03 20:53:22 2021 +0800 |
committer | Miquel Raynal <miquel.raynal@bootlin.com> | Fri Jun 11 20:42:50 2021 +0200 |
tree | a0d13b7179dbe0aedc7788327b4e937cb9fb2b70 | |
parent | 97f41002945fd9c55e8b80c654ea34fd434250e7 [diff] |
mtd: core: add MTD_DEVICE_ATTR_RO/RW() helper macros Compared with the definition of DEVICE_ATTR_RO/RW(), the read and write function names of the sysfs attribute have an additional "mtd_" prefix. 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-2-thunder.leizhen@huawei.com