diff options
author | Hans de Goede <hdegoede@redhat.com> | 2019-08-23 19:48:15 +0200 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-09-07 21:16:09 +0300 |
commit | 0ecee9e3d42231e5641671c5b6b1127d3efff1d4 (patch) | |
tree | e68d7b2056e403642ac4350a7b3240657b7fe903 /drivers/ide/pmac.c | |
parent | 1bd43d0077b9a32a8b8059036471f3fc82dae342 (diff) |
platform/x86: intel_int0002_vgpio: Use device_init_wakeup
Use device_init_wakeup and pm_wakeup_hard_event instead of directly
calling pm_system_wakeup(). This is the preferred way to do this and
this will allow the user to disable wakeup through INT0002 events
through sysfs.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/ide/pmac.c')
0 files changed, 0 insertions, 0 deletions