diff options
author | YueHaibing <yuehaibing@huawei.com> | 2021-06-10 10:01:10 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2021-06-10 09:06:13 +0200 |
commit | 3bc770b0e998a69c7085ec36405eda246b5b10d8 (patch) | |
tree | 3f1a0ead0db134af7db667993c127099a7f2af7d /drivers/scsi/libsas/sas_task.c | |
parent | 606636dcbdbb73b1a4ed61be77c76ea1087f042d (diff) |
iommu/vt-d: Use DEVICE_ATTR_RO macro
Use DEVICE_ATTR_RO() helper instead of plain DEVICE_ATTR(),
which makes the code a bit shorter and easier to read.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20210528130229.22108-1-yuehaibing@huawei.com
Link: https://lore.kernel.org/r/20210610020115.1637656-19-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/scsi/libsas/sas_task.c')
0 files changed, 0 insertions, 0 deletions