PCI: pciehp: Don't check adapter or latch status while disabling
PCI: pciehp: Don't check adapter or latch status while disabling

It does not make much sense to refuse to disable a slot if an adapter is
not present or the latch is open. If an adapter is not present, it provides
an even better reason to disable the device slot.

This is specially a problem for link state hot-plug, because some ports use
in band mechanism for presence detection. Thus when link goes down,
presence detect also goes down. We _want_ that the removal should take
place in such case.

Thus remove the checks for adapter and latch in pciehp_disable_slot()

Signed-off-by: Rajat Jain <95bad5edde439938e03d40e1830b47de3f52a0ea@gmail.com>
Signed-off-by: Rajat Jain <2503cf5b40d531114464a2d306bd3ec112392775@juniper.net>
Signed-off-by: Guenter Roeck <a41ff256b172eeca160d5c013312e0ed724ff76e@juniper.net>
Signed-off-by: Bjorn Helgaas <f10ec01be0c6b54271af5c550cd257810bdf3268@google.com>
KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs