staging: usbip: use DEVICE_ATTR_RO/RW for sysfs attributes
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Aug 2013 19:02:54 +0000 (12:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Aug 2013 19:02:54 +0000 (12:02 -0700)
commitb1f56acaca2efefcdf4b3f5962a99b27700c6e0a
tree5b5720a170c9ff6c3a1d8702a6319c813200a348
parent7322b320d6376c5f5e3a8ec5a59eb117f81e9f69
staging: usbip: use DEVICE_ATTR_RO/RW for sysfs attributes

It's easier to audit the sysfs files if they use the RO/RW macros, so
convert the usbip code to them.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/usbip/stub_dev.c
drivers/staging/usbip/usbip_common.c
drivers/staging/usbip/vhci_sysfs.c