staging: comedi: Kconfig: cleanup depends on logic
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 13 Jun 2012 00:37:10 +0000 (17:37 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Jun 2012 19:20:16 +0000 (12:20 -0700)
commit4829a9967dbe3a3ab192df0bfdde281960cc1319
treed9ed3f7fc4c757f61a2af0493cb79fa3a064e5ca
parente888fabd10cdd46a4b46bcc029c5c6d2364dab7f
staging: comedi: Kconfig: cleanup depends on logic

All of the config options for comedi depend on COMEDI being
selected. Wrap everything in an 'if COMEDI/endif' block and
remove all the individual 'depends on COMEDI' in the Kconfig.

Also, remove the redundant && ISA/PCI/PCMCIA/USB for the if
blocks with those driver types.

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