PNP: remove old CONFIG_PNP_DEBUG option
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Tue, 19 Aug 2008 22:53:52 +0000 (16:53 -0600)
committerLen Brown <len.brown@intel.com>
Sat, 11 Oct 2008 03:35:33 +0000 (23:35 -0400)
CONFIG_PNP_DEBUG is no longer used to turn on dev_dbg() in PNP,
since we have pnp_dbg() which can be enabled at boot-time, so
this patch removes the config option.

Note that pnp_dock_event() checks "#ifdef DEBUG".  But there's
never been a clear path for enabling that via configgery.  It
happened that CONFIG_PNP_DEBUG enabled it after 1bd17e63a068db6,
but that was accidental and only in 2.6.26.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/pnp/Kconfig
drivers/pnp/Makefile
drivers/pnp/isapnp/Makefile
drivers/pnp/pnpacpi/Makefile
drivers/pnp/pnpbios/Makefile

index 8a3237f9f2a7fa166606de711b3be285464d0bc1..2a37b3fedb8e619d203c1a277c5a9e831da389cc 100644 (file)
@@ -36,12 +36,6 @@ config PNP_DEBUG_MESSAGES
 
 if PNP
 
-config PNP_DEBUG
-       bool "PnP Debug Messages"
-       help
-         Say Y if you want the Plug and Play Layer to print debug messages.
-         This is useful if you are developing a PnP driver or troubleshooting.
-
 comment "Protocols"
 
 source "drivers/pnp/isapnp/Kconfig"
index 26f5abc9c3f7d604d926ec32e77570d4fd1a8363..a381a92fd1b65dc0ef593d9b722747c9ee54b0f0 100644 (file)
@@ -7,7 +7,3 @@ obj-y           := core.o card.o driver.o resource.o manager.o support.o interface.o quir
 obj-$(CONFIG_PNPACPI)          += pnpacpi/
 obj-$(CONFIG_PNPBIOS)          += pnpbios/
 obj-$(CONFIG_ISAPNP)           += isapnp/
-
-ifeq ($(CONFIG_PNP_DEBUG),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
index 3e38f06f8d785b64d77a76a392d78c2593e44205..cac18bbfb817b1e042d820fbf7eace2adbdc6f9f 100644 (file)
@@ -5,7 +5,3 @@
 isapnp-proc-$(CONFIG_PROC_FS) = proc.o
 
 obj-y := core.o compat.o $(isapnp-proc-y)
-
-ifeq ($(CONFIG_PNP_DEBUG),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
index 2d7a1e6908be7df6ba535fb8e18ad7c3701e4816..905326fcca85021bd14083aee684610527c7f8b0 100644 (file)
@@ -3,7 +3,3 @@
 #
 
 obj-y := core.o rsparser.o
-
-ifeq ($(CONFIG_PNP_DEBUG),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
index 310e2b3a7710458e4e25518bfdb6f89ff713e9dd..3cd3ed760605fbc7c6f5046bc4f714345aa3b01c 100644 (file)
@@ -5,7 +5,3 @@
 pnpbios-proc-$(CONFIG_PNPBIOS_PROC_FS) = proc.o
 
 obj-y := core.o bioscalls.o rsparser.o $(pnpbios-proc-y)
-
-ifeq ($(CONFIG_PNP_DEBUG),y)
-EXTRA_CFLAGS += -DDEBUG
-endif