commit | 3bc770b0e998a69c7085ec36405eda246b5b10d8 | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Thu Jun 10 10:01:10 2021 +0800 |
committer | Joerg Roedel <jroedel@suse.de> | Thu Jun 10 09:06:13 2021 +0200 |
tree | 3f1a0ead0db134af7db667993c127099a7f2af7d | |
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>