Re: [PATCH v2] xen: xen-pciback: remove DRIVER_ATTR() usage

From: Juergen Gross
Date: Wed Jul 19 2017 - 10:51:10 EST


On 19/07/17 16:43, Greg KH wrote:
> From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
>
> It's better to be explicit and use the DRIVER_ATTR_RW() and
> DRIVER_ATTR_RO() macros when defining a driver's sysfs file.
>
> Bonus is this fixes up a checkpatch.pl warning.
>
> This is part of a series to drop DRIVER_ATTR() from the tree entirely.
>
> Cc: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
> Cc: Juergen Gross <jgross@xxxxxxxx>
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

Reviewed-by: Juergen Gross <jgross@xxxxxxxx>

I'll take this through the Xen tree, unless you want to use your tree.


Thanks,

Juergen