]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries/ibmebus: Remove legacy suspend/resume support
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 19 Nov 2016 13:42:14 +0000 (14:42 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 23 Nov 2016 11:56:26 +0000 (22:56 +1100)
commitdb2a28844a853d2d4e14fc8cfeb00f639a7c97b6
treef1db1a11abcf93de16491f1f5577101b0686afb4
parentaf73a07681d11a71bf2ebed9fcb3e10eb835f620
powerpc/pseries/ibmebus: Remove legacy suspend/resume support

There are no ibmebus driver that make use of legacy suspend/resume. This
patch removes the support for it from ibmebus framework, new ibmebus
driver (as unlikely as they are) wanting to use suspend/resume should
use dev_pm_ops.

Since there aren't any special bus specific things to do during
suspend/resume and since the PM core will automatically fallback
directly to using the device's PM ops if no bus PM ops are specified
there is no need to have any special ibmebus PM ops at all.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pseries/ibmebus.c