PM: hibernate: Rename function parameter from snapshot_test to exclusive
authorChen Yu <yu.c.chen@intel.com>
Wed, 6 Sep 2023 04:18:41 +0000 (12:18 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 12 Sep 2023 09:45:15 +0000 (11:45 +0200)
commit40d84e198b0ae64df71ac0e70675b16900b90bde
treeb82aea1aea99a1d5698b45dd2fc384ec60469ba1
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d
PM: hibernate: Rename function parameter from snapshot_test to exclusive

Several functions reply on snapshot_test to decide whether to
open the resume device exclusively. However there is no strict
connection between the snapshot_test and the open mode. Rename
the 'snapshot_test' input parameter to 'exclusive' to better reflect
the use case.

No functional change is expected.

Signed-off-by: Chen Yu <yu.c.chen@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/power.h
kernel/power/swap.c