]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: clean up attribute permissions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Aug 2013 23:18:34 +0000 (16:18 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Aug 2013 22:12:03 +0000 (15:12 -0700)
commit6ecfb7964422777e2978f5fb9ca9d796b9f2959f
tree30cc47fcecbba3e23c8489138e4ca4b14659b7b0
parent84998b34c1753f09081732f4f54f6e290833ca34
USB: serial: clean up attribute permissions

Clean up the DEVICE_ATTR usage in the USB serial drivers, making them
more obvious as to the permissions that the sysfs files should be.

Note: ftdi_sio.c still has a DEVICE_ATTR() used, that will have to wait
until after 3.12-rc1 comes out when DEVICE_ATTR_WO() shows up in Linus's
tree.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/bus.c
drivers/usb/serial/ftdi_sio.c
drivers/usb/serial/io_ti.c
drivers/usb/serial/iuu_phoenix.c