Re: [PATCH -next] xen/pcpu: Use DEVICE_ATTR_RW macro

From: YueHaibing
Date: Tue May 25 2021 - 02:17:44 EST




On 2021/5/24 20:48, Boris Ostrovsky wrote:
>
> On 5/23/21 3:02 AM, YueHaibing wrote:
>> Use DEVICE_ATTR_RW helper instead of plain DEVICE_ATTR,
>> which makes the code a bit shorter and easier to read.
>>
>> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
>
>
> Do you think you can also make similar change in drivers/xen/xen-balloon.c and drivers/xen/xenbus/xenbus_probe.c?
>
Sure, will do that in v2.
>
>
> Thanks.
>
> -boris
>
> .
>