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)
commitb6e335aeeb114dccb07eaa09e8b62ff9510cf745
treef4292a579e594b6c0312e9c34467649cb978aea5
parentff29530e651a3449aea6b0ef4c7048db9e22ef27
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