]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: dt9812: factor the endpoint setup out of dt9812_probe()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 14 May 2013 21:29:14 +0000 (14:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:26:00 +0000 (16:26 -0700)
commit8ee26468babacd156e366e5c123fa8fb0860a44b
tree36ff62a8b88c01aab7d1fb266577cef797febba8
parent8f5669376dbb16ecb97618749fa3e69105eb4544
staging: comedi: dt9812: factor the endpoint setup out of dt9812_probe()

When this driver is converted to the comedi (*auto_attach) mechanism the
endpoint setup will be done during the (*auto_attach). To make the
conversion cleaner, factor the endpoint setup out of the (*probe).

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/dt9812.c