diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-23 16:05:26 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-25 15:12:03 -0700 |
commit | d03f254f2ee2a708af9a7347402d9aed7f6cc4c1 (patch) | |
tree | f07afa1896e3d87385f3aa0bcc475ed5874ac210 /drivers/w1/w1_family.c | |
parent | 598d03610a0169eb88d2b08d6743be31b3b9c258 (diff) | |
download | linux-d03f254f2ee2a708af9a7347402d9aed7f6cc4c1.tar.gz linux-d03f254f2ee2a708af9a7347402d9aed7f6cc4c1.tar.bz2 linux-d03f254f2ee2a708af9a7347402d9aed7f6cc4c1.zip |
USB: core: be specific about attribute permissions
Instead of having to audit all sysfs attributes, to ensure we get them
right, use the default macros the driver core provides us (read-only,
read-write) to make the code simpler, and to prevent any mistakes from
ever happening.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/w1/w1_family.c')
0 files changed, 0 insertions, 0 deletions