]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/PM: Use pm_wakeup_event() directly for reporting wakeup events
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 29 Dec 2010 12:21:23 +0000 (13:21 +0100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 14 Jan 2011 16:55:43 +0000 (08:55 -0800)
commitdf6217af6c801181e179112e79ded33aa742702a
treef4292a579e594b6c0312e9c34467649cb978aea5
parente5c753eaa4909519de4e49d7448291499ba493b1
PCI/PM: Use pm_wakeup_event() directly for reporting wakeup events

After recent changes related to wakeup events pm_wakeup_event()
automatically checks if the given device is configured to signal wakeup,
so pci_wakeup_event() may be a static inline function calling
pm_wakeup_event() directly.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci.c
drivers/pci/pci.h
include/linux/pci.h