[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200808041724.24016.rjw@sisk.pl>
Date: Mon, 4 Aug 2008 17:24:22 +0200
From: "Rafael J. Wysocki" <rjw@...k.pl>
To: Alan Stern <stern@...land.harvard.edu>
Cc: "Dasgupta, Romit" <romit@...com>,
David Engraf <david.engraf@...com.eu>,
Greg KH <greg@...ah.com>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Linux-pm mailing list <linux-pm@...ts.linux-foundation.org>
Subject: Re: [PATCH] [PM] Fixes missing PM entries in sysfs without CONFIG_PM_SLEEP
On Monday, 4 of August 2008, Alan Stern wrote:
> 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?
Well, maybe, but not any time soon. :-)
> For example, earlier you had it fail if the parent device was asleep, instead
> of just printing a warning.
Yes, I remeber it, but there still are some drivers that would break if we
did that.
Anyway, I think it won't be hard to change device_pm_add() to return error
codes again if we decide to in future.
Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists