diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-06-16 11:44:19 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-06-22 23:00:02 -0400 |
commit | 2506f5dcb8282aa7adf77965ef147bb5b68973e3 (patch) | |
tree | e43fdf71b2d9970a352cffaa7a84331ed356754c /lib/netdev-notifier-error-inject.c | |
parent | 4c92f89802552f345e7577ba614874f1d6a710f4 (diff) |
scsi: mvsas: Use DEVICE_ATTR_RO()/RW() macro
Use DEVICE_ATTR_RO()/RW() macro helper instead of plain DEVICE_ATTR(),
which makes the code a bit shorter and easier to read.
Link: https://lore.kernel.org/r/20210616034419.725-5-thunder.leizhen@huawei.com
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions