Re: [PATCH -next] iommu/vt-d: use DEVICE_ATTR_RO macro

From: Lu Baolu
Date: Wed Jun 09 2021 - 03:43:17 EST


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@xxxxxxxxxx>

Queued for v5.14. Thanks!

Best regards,
baolu