Home
last modified time | relevance | path

Searched hist:"4 c92f898" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/scsi/megaraid/
H A Dmegaraid_mbox.c4c92f898 Tue Jun 15 22:44:18 CDT 2021 Zhen Lei <thunder.leizhen@huawei.com> scsi: megaraid_mbox: Use DEVICE_ATTR_ADMIN_RO() macro

Use DEVICE_ATTR_ADMIN_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-4-thunder.leizhen@huawei.com
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>