Re: [PATCH 1/3] pda-power: add set_charged functionaltity

From: Daniel Mack
Date: Thu Jul 23 2009 - 14:35:03 EST


On Wed, Jul 22, 2009 at 09:41:11PM +0400, Anton Vorontsov wrote:
> On Wed, Jul 22, 2009 at 07:20:45PM +0200, Daniel Mack wrote:
> > What about something like the patch below?
> >
> > The platform code interface would look like
> >
> > struct power_supply *psy =
> > power_support_get_by_name("ds2760.0");
> > if (psy)
> > power_supply_set_battery_charged(psy);
> >
> > Couldn't test it yet as my hardware is missing, but I would still like
> > to hear your comments about it :)
>
> Wow, looks perfect. Let me know when you test it, and I'll
> apply that patch.

That seems to work well. I'm still resending the last two remaining
patches as a follow-up to this one - the changelog had a typo.

Thanks,
Daniel

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