diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-05-09 09:20:08 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-09 13:39:33 -0700 |
commit | a5011a261574239403468368605f5e0625dcfb56 (patch) | |
tree | 3fd217f79befd2dcd9a5e4a8915f118376ce29ff /net/llc/llc_output.c | |
parent | 54fe68a8d7e6f3f3f24150ef555b05dcc2fa0461 (diff) |
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 'net/llc/llc_output.c')
0 files changed, 0 insertions, 0 deletions