PCI: portdrv: move PME capability check
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Wed, 25 Nov 2009 12:02:51 +0000 (21:02 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 4 Dec 2009 23:55:37 +0000 (15:55 -0800)
commit9e5d0b16dada536dfe2f1e893b6ad0225ff8a2c9
tree1861e7d3d52a5aeb91284ca6b1e310811adb2eb3
parent2dd60e96b4d52bccd2dd585e776a3449d7b34b8f
PCI: portdrv: move PME capability check

No reason to check PME capability outside get_port_device_capability().
Do it in get_port_device_capability().

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pcie/portdrv_core.c