]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
staging: comedi: ni_daq_700: Remove bustype variable from the boardinfo
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 22 Jun 2012 23:23:04 +0000 (16:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Jun 2012 03:55:06 +0000 (20:55 -0700)
commit726288e4aadbe53ed8f43483eb3b02c4a5385bd4
treef6d456f529b23123514763b573edf2cfec911d91
parentba0333ead10246535134cb4a552c79b56e6a4894
staging: comedi: ni_daq_700: Remove bustype variable from the boardinfo

This driver is only used for pcmcia type devices. There is no need for
the 'bustype' check. Remove the variable from the boardinfo and refactor
the code based on it's removal.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_daq_700.c