commit | 2060061767c5d3fd5d2477c8cf3407efeeabe8e0 | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Wed May 26 22:10:19 2021 +0800 |
committer | Juergen Gross <jgross@suse.com> | Mon Jul 05 09:23:31 2021 +0200 |
tree | ad242a3e591a28d64247e77df7abafc1e1a33306 | |
parent | 62fb9874f5da54fdb243003b386128037319b219 [diff] |
xen: Use DEVICE_ATTR_*() macro Use DEVICE_ATTR_*() helper instead of plain DEVICE_ATTR(), which makes the code a bit shorter and easier to read. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Link: https://lore.kernel.org/r/20210526141019.13752-1-yuehaibing@huawei.com Signed-off-by: Juergen Gross <jgross@suse.com>