All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anton Vorontsov <cbouatmailru@gmail.com>
To: Paul Parsons <lost.distance@yahoo.com>
Cc: Philipp Zabel <philipp.zabel@gmail.com>,
	linux-kernel@vger.kernel.org, mad_soft@inbox.ru,
	koen@dominion.thruhere.net
Subject: Re: [PATCH] power/ds2760_battery: Add rated capacity of the hx4700 3600mAh battery
Date: Sat, 26 Nov 2011 04:43:35 +0400	[thread overview]
Message-ID: <20111126004335.GA1703@oksana.dev.rtsoft.ru> (raw)
In-Reply-To: <20111125235613.GA21434@oksana.dev.rtsoft.ru>

On Sat, Nov 26, 2011 at 03:56:13AM +0400, Anton Vorontsov wrote:
[...]
> The only thing we can do is some machine-specific fixup. The
> universal way is ds2760_battery.rate_capacity module (and kernel
> command line) parameter that you can use to fixup the value.

Oh, btw, nowadays there is support for writable properties in the
power supply class. So, in addition to the module parameter, for
convenience you might also implement write-function for the
rated_capacity value.

Thanks,

-- 
Anton Vorontsov
Email: cbouatmailru@gmail.com

      reply	other threads:[~2011-11-26  0:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-23 22:37 [PATCH] power/ds2760_battery: Add rated capacity of the hx4700 3600mAh battery Paul Parsons
2011-11-24 18:16 ` Philipp Zabel
2011-11-24 23:52   ` Paul Parsons
2011-11-25 23:56     ` Anton Vorontsov
2011-11-26  0:43       ` Anton Vorontsov [this message]

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=20111126004335.GA1703@oksana.dev.rtsoft.ru \
    --to=cbouatmailru@gmail.com \
    --cc=koen@dominion.thruhere.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lost.distance@yahoo.com \
    --cc=mad_soft@inbox.ru \
    --cc=philipp.zabel@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.