ACPI: x86: s2idle: Post-increment variables when getting constraints
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 18 Aug 2023 19:40:02 +0000 (14:40 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 21 Aug 2023 18:28:20 +0000 (20:28 +0200)
commit3c6b1212d20bbbffcad5709ab0f2d5ed9b5859a8
tree6f32d5714db22b90fe08c265bdb415b4a110d4d2
parent3ac9b733723e4a09ad9125ceb51898d904cd5169
ACPI: x86: s2idle: Post-increment variables when getting constraints

When code uses a pre-increment it makes the reader question "why".
In the constraint fetching code there is no reason for the variables
to be pre-incremented so adjust to post-increment.
No intended functional changes.

Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Suggested-by: Bjorn Helgaas <helgaas@kernel.org>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/x86/s2idle.c