Re: [linux-pm] [RFC][PATCH] PM: Introduce new top levelsuspend and hibernation callbacks (rev. 2)

From: Alan Stern
Date: Wed Mar 26 2008 - 12:36:48 EST


On Wed, 26 Mar 2008, Oliver Neukum wrote:

> Am Mittwoch, 26. März 2008 15:40:27 schrieb Alan Stern:
> > Remember, the whole purpose of this is to let drivers know when the
> > system is going to sleep or waking up.  Proper handling of devices is
> > up to the drivers, not up to the core.
>
> Then declare these methods void. We cannot introduce methods that deliberately
> ignore errors. Reporting is also better done in the drivers.

That decision is up to Rafael. Changing the methods to return void is
okay with me.

Alan Stern

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