]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: ni_daq_dio24: remove pcmcia_device private data
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 30 Jan 2013 23:44:25 +0000 (16:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2013 01:27:36 +0000 (19:27 -0600)
commite67650e1455590c65b0481661f5f1fec44481c96
tree73d18fbc214eef85067b65fd2ea76fcbccb08182
parentbbbf650543ddefc763292e243c49c232bd512062
staging: comedi: ni_daq_dio24: remove pcmcia_device private data

The private data, struct local_info_t, is not being used in the
driver. Remove it as well as the kzalloc/kfree.

Also, don't set the 'pcmcia_cur_dev' variable unless the pcmcia
probe is successful.

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