]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / power: Remove useless message from device registering routine
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 26 Dec 2012 12:26:46 +0000 (13:26 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 3 Jan 2013 12:10:22 +0000 (13:10 +0100)
commitf2629336c87566c00ec81a02d4fcf392dbcf087f
tree9eb2134794edfc62a0436fc96376d6e73067005d
parent341534a2c5ba5697f4bf349a676b050b151b97e7
ACPI / power: Remove useless message from device registering routine

After commit 6f342fa (PCI/ACPI: Notify PCI devices when their power
resource is turned on) made acpi_pci_bind() call
acpi_power_resource_register_device(), the debug message at the end
of the latter appears in the kernel log for every PCI device that
doesn't happen to have power resources assigned (which is the vast
majority of them).  However, this message is totally useless, because
it doesn't even say which device it is about.  Moreover, it is
misleading, because it only means that the given device has no power
resources, which isn't exceptional at all.

Remove that useless message altogether and simplify
acpi_power_resource_register_device() slightly.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/power.c