Re: [RFC/RFT][PATCH -mm 1/4] PM: Introduce set_target method in pm_ops

David Brownell
2007-06-26T17:19:58Z

On Tuesday 26 June 2007, Rafael J. Wysocki wrote:

> Alternatively, I could write that the argument passed to .enter() etc. is
> guaranteed to be the same as the one passed to .set_target(), but I didn't want
> to say that. :-)

Why not? So long as enter() takes an argument, that seems
to me exactly what it should guarantee. Although that
argument should vanish; any platform that differentiates
what it does based on that parameter can just be required
to provide a set_target() method.

- Dave