commit | d03f254f2ee2a708af9a7347402d9aed7f6cc4c1 | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Aug 23 16:05:26 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Aug 25 15:12:03 2013 -0700 |
tree | f07afa1896e3d87385f3aa0bcc475ed5874ac210 | |
parent | 598d03610a0169eb88d2b08d6743be31b3b9c258 [diff] |
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>