summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-05-10 18:05:28 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-14 13:00:55 -0700
commitfb60367d5dff0e2ee3032f7daf212e5ed9863552 (patch)
tree8b623e0fac2c58dbbc0a40e7fbad0588f182680c /drivers/scsi
parentd3b487695120b5342067244253697eabb121436d (diff)
staging: comedi: register sysfs device attributes with driver core
Currently the sysfs device attributes are created by the comedi core after each comedi device is created. This can lead to a race condition where userspace gets an add event before the files are created. Register the device attributes with the comedi class so that the driver core handles creating them and we avoid the race. 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/scsi')
0 files changed, 0 insertions, 0 deletions