Skip to content
Commit 20600617 authored by YueHaibing's avatar YueHaibing Committed by Juergen Gross
Browse files

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: default avatarYueHaibing <yuehaibing@huawei.com>
Reviewed-by: default avatarBoris Ostrovsky <boris.ostrovsky@oracle.com>
Link: https://lore.kernel.org/r/20210526141019.13752-1-yuehaibing@huawei.com


Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
parent 62fb9874
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment