aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/pci/hotplug/acpiphp.h
diff options
context:
space:
mode:
authorLan Tianyu <tianyu.lan@intel.com>2013-09-24 18:11:48 -0600
committerBjorn Helgaas <bhelgaas@google.com>2013-09-25 17:00:51 -0600
commitbd950799d9510cac994fad2ea020767fe878b84b (patch)
treefe9f572e98acaa7894bbe779e19fe00a3a33379d /drivers/pci/hotplug/acpiphp.h
parentPCI: Remove Intel Haswell D3 delays (diff)
downloadwireguard-linux-bd950799d9510cac994fad2ea020767fe878b84b.tar.xz
wireguard-linux-bd950799d9510cac994fad2ea020767fe878b84b.zip
PCI: acpiphp: Convert to dynamic debug
This patch is to use pr_debug/info/warn/err to replace acpiphp debug functions and remove module's debug param. User interface change: before this patch, boot with the "acpiphp.debug" kernel parameter to turn on debug. After this patch, set CONFIG_DYNAMIC_DEBUG=y and boot with "acpiphp.dyndebug=+p" instead. See Documentation/dynamic-debug-howto.txt. [bhelgaas: changelog] Signed-off-by: Lan Tianyu <tianyu.lan@intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/hotplug/acpiphp.h')
-rw-r--r--drivers/pci/hotplug/acpiphp.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/pci/hotplug/acpiphp.h b/drivers/pci/hotplug/acpiphp.h
index f4e028924667..26100f510b10 100644
--- a/drivers/pci/hotplug/acpiphp.h
+++ b/drivers/pci/hotplug/acpiphp.h
@@ -39,16 +39,6 @@
#include <linux/mutex.h>
#include <linux/pci_hotplug.h>
-#define dbg(format, arg...) \
- do { \
- if (acpiphp_debug) \
- printk(KERN_DEBUG "%s: " format, \
- MY_NAME , ## arg); \
- } while (0)
-#define err(format, arg...) printk(KERN_ERR "%s: " format, MY_NAME , ## arg)
-#define info(format, arg...) printk(KERN_INFO "%s: " format, MY_NAME , ## arg)
-#define warn(format, arg...) printk(KERN_WARNING "%s: " format, MY_NAME , ## arg)
-
struct acpiphp_context;
struct acpiphp_bridge;
struct acpiphp_slot;