aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2021-06-16 11:44:17 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2021-06-22 23:00:02 -0400
commit80068f82284a3bbb2763a2280027daa95da4f73d (patch)
tree29069650f63691bab84d4276a13b8335209b9349 /drivers/scsi/megaraid
parentscsi: qedi: Use DEVICE_ATTR_RO() macro (diff)
downloadlinux-dev-80068f82284a3bbb2763a2280027daa95da4f73d.tar.xz
linux-dev-80068f82284a3bbb2763a2280027daa95da4f73d.zip
scsi: qedf: Use DEVICE_ATTR_RO() macro
Use DEVICE_ATTR_RO() 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-3-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 'drivers/scsi/megaraid')
0 files changed, 0 insertions, 0 deletions