]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: refactor comedi_device_attach() a bit
authorIan Abbott <abbotti@mev.co.uk>
Fri, 30 Mar 2012 16:15:00 +0000 (17:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Apr 2012 18:21:11 +0000 (11:21 -0700)
commitfdfa58b46bfd074d6065c7892832450d26d59f93
treea0d80f24abbfe68ace94063433857aafb45a0f9b
parent7c03807a4f3aa2874e40f35916068235bceae70f
staging: comedi: refactor comedi_device_attach() a bit

Split the post-config part of comedi_device_attach() into new function
comedi_device_postconfig() and rearrange the rest of the function a bit.

The new comedi_device_postconfig() function will be called by some new
bus-type-specific auto-attach functions.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers.c