Re: [PATCH 2/2] PM / Sleep: Drop pm_op() and pm_noirq_op()

From: Rafael J. Wysocki
Date: Mon Nov 28 2011 - 06:55:23 EST


On Monday, November 28, 2011, Greg KH wrote:
> On Sun, Nov 27, 2011 at 11:59:36PM +0100, Rafael J. Wysocki wrote:
> > From: Rafael J. Wysocki <rjw@xxxxxxx>
> >
> > The helper functions pm_op() and pm_noirq_op() are not really
> > necessary and they don't do anything useful, so drop them.
> >
> > Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>
>
> Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxx>

Unfortunately, this one isn't correct, because it would make the PM core
silently ignore the freeze/thaw and poweroff/restore callbacks, so I'm
withdrawing it.

Patch [1/2] is still OK, though.

Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/