]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: usbduxsigma: remove tidy_up() from (*auto_attach)
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 23 May 2013 19:55:28 +0000 (12:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:40:57 +0000 (20:40 +0900)
commit8d47aa16a1b5499922a6bcd05edfca1fed012ee6
treec90317963ad7e42163d90b079fa4822280706797
parenta6a5d6d736feff7471dfa37bbda65e11b8446c9d
staging: comedi: usbduxsigma: remove tidy_up() from (*auto_attach)

Comedi drivers do not need to cleanup allocations during the
(*auto_attach). If the (*auto_attach) fails the (*detach) will
automatically be called to handle the cleanup.

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/usbduxsigma.c