summaryrefslogtreecommitdiffstats
path: root/drivers/staging/gdm724x/netlink_k.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-24 10:36:49 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-24 10:36:49 -0700
commite7c8a7e350e22bf60d94d5e9361cee29058684c1 (patch)
tree8a6af086000be623696640a4ddd2642e25563eb1 /drivers/staging/gdm724x/netlink_k.c
parent3b7cf04f873d3317bdfeedb6c83396abd16f0955 (diff)
downloadlinux-stable-e7c8a7e350e22bf60d94d5e9361cee29058684c1.tar.gz
linux-stable-e7c8a7e350e22bf60d94d5e9361cee29058684c1.tar.bz2
linux-stable-e7c8a7e350e22bf60d94d5e9361cee29058684c1.zip
staging: line6: use default sysfs attribute macros
Move to use the DEVICE_ATTR_RW/RO macros, making it easier to audit the sysfs file permissions, and get rid of the "empty" callback for read-only files, saving lines of code. Cc: Stefan Hajnoczi <stefanha@gmail.com> Cc: Laurent Navet <laurent.navet@gmail.com> Cc: Johannes Thumshirn <morbidrsa@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/gdm724x/netlink_k.c')
0 files changed, 0 insertions, 0 deletions