]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
PCI: power management: remove noise on non-manageable hw
authorPavel Machek <pavel@ucw.cz>
Tue, 16 Jan 2007 11:17:13 +0000 (12:17 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 23:50:06 +0000 (15:50 -0800)
commite36c455c2f5fee08fed395e94c7ab156cd159360
treecfe0e29851b49893083108601bbee4ca9d38dc9e
parentc54c18790700b8b2a503945d729aa425c25691fe
PCI: power management: remove noise on non-manageable hw

Return early from pci_set_power_state() if hardware does not support
power management. This way, we do not generate noise in the logs.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/pci.c