[PATCH] ibmebus: Remove legacy suspend/resume support

Michael Ellerman mpe at ellerman.id.au
Mon Nov 21 20:52:51 AEDT 2016


Lars-Peter Clausen <lars at metafoo.de> writes:

> 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.

Thanks, this looks like a really nice cleanup.

I don't know the PM code at all, is there any down side to removing all
of this?

cheers


More information about the Linuxppc-dev mailing list