Re: [PATCH 3/5] power_supply: add a TRICKLE_CHARGING status, andadd it to the olpc driver

From: Mark Brown
Date: Tue Jun 23 2009 - 19:25:48 EST


On Tue, Jun 23, 2009 at 07:13:17PM -0400, Richard A. Smith wrote:
> Mark Brown wrote:

>> A separate file with the detailed information would sidestep this since
>> it's a new interface. I'm not strongly opposed to adding the new states
>> but I do think it's worth considering other ways of doing this.

> I've got no problems with a new interface. But, i'm also not the person
> writing the driver. :)

It's really no bother from the driver point of view either way, it's the
user space applications that are the concern here - are they going to
cope well with a new state appearing there?

> Suggestions on what it would look like?

Probably another sysfs file in the same directory, I'd imagine.
--
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/