From: Anton Vorontsov <avorontsov@ru.mvista.com>
To: Ian Molton <ian@mnementh.co.uk>
Cc: Daniel Mack <daniel@caiaq.de>,
linux-kernel@vger.kernel.org, Anton Vorontsov <cbou@mail.ru>,
Matt Reimer <mreimer@vpop.net>
Subject: Re: [PATCH 1/2] power_supply: get_by_name and set_charged functionality
Date: Thu, 30 Jul 2009 18:11:34 +0400 [thread overview]
Message-ID: <20090730141134.GB25759@oksana.dev.rtsoft.ru> (raw)
In-Reply-To: <4A704451.1070004@mnementh.co.uk>
On Wed, Jul 29, 2009 at 01:45:05PM +0100, Ian Molton wrote:
> Daniel Mack wrote:
> >On Wed, Jul 29, 2009 at 11:29:48AM +0100, Ian molton wrote:
> >>Looks ok. the only comment I have right now is that the comment
> >>doesnt quite match the patch - it suggests that the patch
> >>doesnt include the power_supply_set_battery_charged() function,
> >>when it does in fact.
> >
> >The subject mentions it, and the body references it again. Hmm. Anyway.
> >Want me to resend? Or could the commiter add another sentence to point
> >that out? I think that would be Anton, as he agreed to pick all the
> >other patches I recently sent in.
>
> I'm not that fussed - you just seemed to want feedback, so I had a read ;-)
>
> If you change it, I'd write something like:
>
> This adds a function that indicates that a battery is fully charged.
> It also includes functions to get a power_supply device from the
> class of registered devices by name reference. These can be used to
> find a specific battery to call power_supply_set_battery_charged()
> on.
>
> Some battery drivers might need this information to calibrate
> themselves.
Ian, Matt, much thanks for reviews and acks!
Daniel, thanks for the patches, and for the patience. :-)
Following patches applied to battery-2.6.git (for -next):
Daniel Mack (8):
ds2760_battery: delay power supply registration
ds2760_battery: export more features
ds2760_battery: add rated_capacity module parameter
ds2760_battery: handle full_active_uAh == 0 case correctly
ds2760_battery: add current_accum module parameter
power_supply: EXPORT_SYMBOL cleanups
power_supply: get_by_name and set_charged functionality
ds2760_battery: implement set_charged() feature
Let me know if I missed anything.
--
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2
next prev parent reply other threads:[~2009-07-30 14:11 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-16 15:44 [PATCH 1/3] pda-power: add set_charged functionaltity Daniel Mack
2009-07-16 15:44 ` [PATCH 2/3] pda-power: EXPORT_SYMBOL cleanups Daniel Mack
2009-07-16 15:44 ` [PATCH 3/3] ds2760: implement set_charged() feature Daniel Mack
2009-07-16 16:08 ` Daniel Mack
2009-07-20 12:24 ` [PATCH 1/3] pda-power: add set_charged functionaltity Daniel Mack
2009-07-20 17:53 ` Matt Reimer
2009-07-20 18:27 ` Anton Vorontsov
2009-07-20 18:37 ` Daniel Mack
2009-07-20 19:00 ` Anton Vorontsov
2009-07-20 21:00 ` Daniel Mack
2009-07-22 17:20 ` Daniel Mack
2009-07-22 17:41 ` Anton Vorontsov
2009-07-23 18:34 ` Daniel Mack
2009-07-23 18:35 ` [PATCH 1/2] power_supply: get_by_name and set_charged functionality Daniel Mack
2009-07-23 18:35 ` [PATCH 2/2] ds2760: implement set_charged() feature Daniel Mack
2009-07-28 22:06 ` [PATCH 1/2] power_supply: get_by_name and set_charged functionality Daniel Mack
2009-07-29 10:29 ` Ian molton
2009-07-29 10:36 ` Daniel Mack
2009-07-29 12:45 ` Ian Molton
2009-07-30 14:11 ` Anton Vorontsov [this message]
2009-07-30 17:41 ` Daniel Mack
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090730141134.GB25759@oksana.dev.rtsoft.ru \
--to=avorontsov@ru.mvista.com \
--cc=cbou@mail.ru \
--cc=daniel@caiaq.de \
--cc=ian@mnementh.co.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=mreimer@vpop.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®