]> www.infradead.org Git - users/willy/linux.git/commit
PCI / PM: Clean up outdated comments in pci_target_state()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 21 May 2018 11:11:12 +0000 (13:11 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 24 May 2018 08:15:51 +0000 (10:15 +0200)
commit60ee031aabbe602df01cb12f3098e99262832e62
tree2cb40fa436211d0ba42a3d66ae9149a01c1b33d3
parent656088aa9b513907833ba091d0dcde87571fe05b
PCI / PM: Clean up outdated comments in pci_target_state()

Two comments in pci_target_state() are outdated, as the function
doesn't set the target power state for the device any more, only
finds one for it, so fix them accordingly.

Reported-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c