PM / sleep: move SNAPSHOT_SET_SWAP_AREA handling into a helper

Move the handling of the SNAPSHOT_SET_SWAP_AREA ioctl from the main
ioctl helper into a helper function.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Christoph Hellwig 2020-04-06 13:58:34 +02:00 • committed by Rafael J. Wysocki
commit 88a77559cc