]> git.karo-electronics.de Git - linux-beck.git/commit
s390/zcrypt: Convert to PM ops
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 22 Nov 2016 21:06:00 +0000 (22:06 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 2 Dec 2016 06:36:22 +0000 (07:36 +0100)
commit3e488c95c72ba8cbe8ab3a5c1c61f058f9e30aed
treef8568941baed28ebdaeb171e75e0c3d910ac63c2
parent9f88eb4df728aebcd2ddd154d99f1d75b428b897
s390/zcrypt: Convert to PM ops

Switch the zcrypt bus from legacy suspend/resume callbacks to dev_pm_ops.
The conversion is straight forward with the help of SIMPLE_DEV_PM_OPS().
The new dev_pm_ops based version is functionally equivalent to the legacy
callbacks version.

This will allow to eventually remove support for legacy suspend/resume
callbacks from the kernel altogether.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/crypto/ap_bus.c