Re: [PATCH -next] iommu/vt-d: use DEVICE_ATTR_RO macro
From
Lu Baolu <>
Date
Wed, 9 Jun 2021 15:41:55 +0800
On 5/28/21 9:02 PM, YueHaibing wrote: > 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>