]> git.baikalelectronics.ru Git - kernel.git/commit
xen: Use DEVICE_ATTR_*() macro
authorYueHaibing <yuehaibing@huawei.com>
Wed, 26 May 2021 14:10:19 +0000 (22:10 +0800)
committerJuergen Gross <jgross@suse.com>
Mon, 5 Jul 2021 07:23:31 +0000 (09:23 +0200)
commit2060061767c5d3fd5d2477c8cf3407efeeabe8e0
treead242a3e591a28d64247e77df7abafc1e1a33306
parent62fb9874f5da54fdb243003b386128037319b219
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>
drivers/xen/pcpu.c
drivers/xen/xen-balloon.c
drivers/xen/xenbus/xenbus_probe.c