]> git.baikalelectronics.ru Git - kernel.git/commit
USB: usbtmc: fix up attribute permissions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Aug 2013 23:09:33 +0000 (16:09 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Aug 2013 22:12:03 +0000 (15:12 -0700)
commit84998b34c1753f09081732f4f54f6e290833ca34
tree6ccce2e442f1d78b24660acb2685d49b0462a789
parentd77199d3727da406dc06c6de17d82716c956fd11
USB: usbtmc: fix up attribute permissions

In auditing the usbtmc sysfs files, a bunch of them were being created
as "read only", yet they have logic to handle writing to.  So fix them
up by setting the permissions properly.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/usbtmc.c