diff options
author | YueHaibing <[email protected]> | 2021-06-10 10:01:10 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2021-06-10 09:06:13 +0200 |
commit | 3bc770b0e998a69c7085ec36405eda246b5b10d8 (patch) | |
tree | 3f1a0ead0db134af7db667993c127099a7f2af7d /lib/mpi/mpi-sub-ui.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 <[email protected]>
Signed-off-by: Lu Baolu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions