commit | 0538dcb0171aad2155db405a5416d9df563e1187 | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jul 19 16:43:44 2017 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Aug 28 16:42:30 2017 +0200 |
tree | 9316ba5c7398d740927dab994b073dc06c3edbb2 | |
parent | 6a7a81761bee2a6694c0a5fb1a16b263c96241c1 [diff] |
xen: xen-pciback: remove DRIVER_ATTR() usage 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. Reviewed-by: Juergen Gross <jgross@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>