diff options
author | Zhen Lei <[email protected]> | 2021-06-03 20:53:23 +0800 |
---|---|---|
committer | Miquel Raynal <[email protected]> | 2021-06-11 20:42:57 +0200 |
commit | a17da115ac042fd560cba2f8e4057722cf0c42cd (patch) | |
tree | f35f95803c763dea305f9cade5124659e45bff65 /lib/mpi/mpi-sub-ui.c | |
parent | b4e248632c968d985f0ecfd7924423fbefc39d1c (diff) |
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 <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions