]> Pileus Git - ~andy/linux/commitdiff
usb: Kconfig: remove unneeded default value
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 13 May 2012 16:07:08 +0000 (18:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2012 15:49:50 +0000 (08:49 -0700)
If no default value is specified, then 'n' is used so the default value
used here is not needed. Furthermore, we should never change default
values depending on EXPERT mode. EXPERT mode should only make options
visible, not change them.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/Kconfig

index fe46fc09defca9f4901a7211072b01ef2a212262..9981984b365b2ab401eb56693e98a7eb74b9fa5f 100644 (file)
@@ -73,7 +73,6 @@ config USB_OTG_WHITELIST
        bool "Rely on OTG Targeted Peripherals List"
        depends on USB_OTG || EXPERT
        default y if USB_OTG
-       default n if EXPERT
        help
          If you say Y here, the "otg_whitelist.h" file will be used as a
          product whitelist, so USB peripherals not listed there will be