summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8712/rtl871x_ioctl_linux.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-05-09 09:20:08 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-09 13:39:33 -0700
commita5011a261574239403468368605f5e0625dcfb56 (patch)
tree3fd217f79befd2dcd9a5e4a8915f118376ce29ff /drivers/staging/rtl8712/rtl871x_ioctl_linux.c
parent54fe68a8d7e6f3f3f24150ef555b05dcc2fa0461 (diff)
downloadop-kernel-dev-a5011a261574239403468368605f5e0625dcfb56.zip
op-kernel-dev-a5011a261574239403468368605f5e0625dcfb56.tar.gz
staging: comedi: refactor sysfs files in comedi_fops.c
Refactor the sysfs attributes and functions to remove the need for the forward declarations and use the DEVICE_ATTR macro to define them. Instead of individually creating sysfs device attribute files, wrap them in an attribute_group and use the sysfs_create_group function to create them. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/rtl871x_ioctl_linux.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud