diff options
| author | 2021-06-16 11:44:18 +0800 | |
|---|---|---|
| committer | 2021-06-22 23:00:02 -0400 | |
| commit | 4c92f89802552f345e7577ba614874f1d6a710f4 (patch) | |
| tree | d67c2937d18bd6d8c79258047e13827c80a71a8f /tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com | |
| parent | scsi: qedf: Use DEVICE_ATTR_RO() macro (diff) | |
| download | linux-dev-4c92f89802552f345e7577ba614874f1d6a710f4.tar.xz linux-dev-4c92f89802552f345e7577ba614874f1d6a710f4.zip | |
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>
Diffstat (limited to 'tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
