OSDN Git Service

staging: comedi: ni_daq_dio24: remove dio24_release()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 30 Jan 2013 23:42:06 +0000 (16:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2013 01:27:36 +0000 (19:27 -0600)
commitde46fb7776da0565fa71cb407c7eb45ce87676b9
tree2789aeb6ff7ce0fed9f8ae5278c0cf628bc01223
parent7b725aaedd687361e3fdd8e61d3af24482557e3c
staging: comedi: ni_daq_dio24: remove dio24_release()

This function simply calls pcmcia_disable_device(). Remove it and
just call pcmcia_disable_device() where needed.

Also, remove a couple unnecessary forward declarations.

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