diff options
| author | Greg Kroah-Hartman <[email protected]> | 2017-07-19 14:43:44 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-08-28 14:42:30 +0000 |
| commit | 0538dcb0171aad2155db405a5416d9df563e1187 (patch) | |
| tree | 9316ba5c7398d740927dab994b073dc06c3edbb2 /net/unix/af_unix.c | |
| parent | driver core: Document struct device:dma_ops (diff) | |
| download | kernel-0538dcb0171aad2155db405a5416d9df563e1187.tar.gz kernel-0538dcb0171aad2155db405a5416d9df563e1187.zip | |
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
