diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-06-18 10:18:28 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-06-19 11:41:26 +0200 |
commit | 0b385a0c3bd3f6d1044728b732bfc7dfb01c9fb5 (patch) | |
tree | a15da195f726fe5bbbe006d58ff35fb56f325658 /drivers/input/serio | |
parent | 3540d38dd38308b811c6ddaf2fde03e9948cc1c1 (diff) | |
download | talos-op-linux-0b385a0c3bd3f6d1044728b732bfc7dfb01c9fb5.tar.gz talos-op-linux-0b385a0c3bd3f6d1044728b732bfc7dfb01c9fb5.zip |
PM: suspend: Rename pm_suspend_via_s2idle()
The name of pm_suspend_via_s2idle() is confusing, as it doesn't
reflect the purpose of the function precisely enough and it is
very similar to pm_suspend_via_firmware(), which has a different
purpose, so rename it as pm_suspend_default_s2idle() and update
its only caller, i8042_register_ports(), accordingly.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/serio')
-rw-r--r-- | drivers/input/serio/i8042.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c index 6462f1798fbb..8384abc41d7f 100644 --- a/drivers/input/serio/i8042.c +++ b/drivers/input/serio/i8042.c @@ -1410,7 +1410,7 @@ static void __init i8042_register_ports(void) * behavior on many platforms using suspend-to-RAM (ACPI S3) * by default. */ - if (pm_suspend_via_s2idle() && i == I8042_KBD_PORT_NO) + if (pm_suspend_default_s2idle() && i == I8042_KBD_PORT_NO) device_set_wakeup_enable(&serio->dev, true); } } |