PCI / ACPI: Use dev_dbg() instead of dev_info() in acpi_pci_set_power_state()
authorLan Tianyu <tianyu.lan@intel.com>
Tue, 30 Jul 2013 02:32:30 +0000 (10:32 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 31 Jul 2013 22:39:53 +0000 (00:39 +0200)
commitd010e5769a5ab2ae8d2bcb36e77b98172c24d80c
tree1489645077d565287f0eef32faefe6ebabe3302b
parent2d8b1d566a5f4874f4d92361f5cdbb50baa396f8
PCI / ACPI: Use dev_dbg() instead of dev_info() in acpi_pci_set_power_state()

acpi_pci_set_power_state() uses dev_info() to print diagnostic
messages regarding ACPI power state changes of devices, but that
results in too much not really interesting output into the kernel
log in some cases.

For this reason, change it to use dev_dbg() instead and prevent
kernel log from being spammed.

[rjw: Changelog]
References: https://bugzilla.kernel.org/show_bug.cgi?id=60636
Suggested-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pci/pci-acpi.c