lkml.org 
[lkml]   [2009]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] pda-power: add set_charged functionaltity
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



\
 
 \ /
  Last update: 2009-07-23 20:37    [W:0.101 / U:4.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site