PCI/PM: Expand description of pci_set_power_state()
authorPiotr Gregor <piotrgregor@rsyncme.org>
Wed, 2 Aug 2017 19:42:18 +0000 (20:42 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 3 Aug 2017 23:12:56 +0000 (18:12 -0500)
commitab4b8a47abeefad94cdb6b4c0df6a13f4f6ae4e0
tree23d50d4c8bcaabd69e0d93d57342eec8bfa6def7
parent16f73eb02d7e1765ccab3d2018e0bd98eb93d973
PCI/PM: Expand description of pci_set_power_state()

Add two reasons for returning 0 value to the description of
pci_set_power_state() to include the cases when:

  - the transition is to D1 or D2 but D1 and D2 are not supported
  - the transition is to D3 but D3 is not supported

Signed-off-by: Piotr Gregor <piotrgregor@rsyncme.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c