]> 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)
commit40186baa3223f8758c658f7ad9004e667a7cb62c
treef1db1a11abcf93de16491f1f5577101b0686afb4
parentae7fa8255868708c5b477aa83882fbf8b0a192e4
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