summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpi_tad.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-04-18 19:53:20 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-04-24 22:34:22 +0300
commit2a3f34750b8b07df42ab4b30b70e029d46e0d7f3 (patch)
treeede6f68628195838e7a48bfd35fd2b2efecb5c74 /drivers/acpi/acpi_tad.c
parente07515563d010d8b32967634e8dc2fdc732c1aa6 (diff)
downloadlinux-2a3f34750b8b07df42ab4b30b70e029d46e0d7f3.tar.xz
PM: sleep: core: Rename DPM_FLAG_LEAVE_SUSPENDED
Rename DPM_FLAG_LEAVE_SUSPENDED to DPM_FLAG_MAY_SKIP_RESUME which matches its purpose more closely. No functional impact. Suggested-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Wolfram Sang <wsa@the-dreams.de> # for I2C Acked-by: Alan Stern <stern@rowland.harvard.edu> Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/acpi/acpi_tad.c')
-rw-r--r--drivers/acpi/acpi_tad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpi_tad.c b/drivers/acpi/acpi_tad.c
index 33a4bcdaa4d7..7d45cce0c3c1 100644
--- a/drivers/acpi/acpi_tad.c
+++ b/drivers/acpi/acpi_tad.c
@@ -624,7 +624,7 @@ static int acpi_tad_probe(struct platform_device *pdev)
*/
device_init_wakeup(dev, true);
dev_pm_set_driver_flags(dev, DPM_FLAG_SMART_SUSPEND |
- DPM_FLAG_LEAVE_SUSPENDED);
+ DPM_FLAG_MAY_SKIP_RESUME);
/*
* The platform bus type layer tells the ACPI PM domain powers up the
* device, so set the runtime PM status of it to "active".