Re: [PATCH] [PM] Fixes missing PM entries in sysfs withoutCONFIG_PM_SLEEP

From: Alan Stern
Date: Mon Aug 04 2008 - 11:14:57 EST


On Mon, 4 Aug 2008, Rafael J. Wysocki wrote:

> > Rafael, any objections?
>
> Hm, well, one thing below.

> device_pm_add() can now be void and the error variable in there is not
> necessary any more.

Do you think we will want to make device_pm_add() return an error at
some point in the future? For example, earlier you had it fail if the
parent device was asleep, instead of just printing a warning.

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/