[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20111126004335.GA1703@oksana.dev.rtsoft.ru>
Date: Sat, 26 Nov 2011 04:43:35 +0400
From: Anton Vorontsov <cbouatmailru@...il.com>
To: Paul Parsons <lost.distance@...oo.com>
Cc: Philipp Zabel <philipp.zabel@...il.com>,
linux-kernel@...r.kernel.org, mad_soft@...ox.ru,
koen@...inion.thruhere.net
Subject: Re: [PATCH] power/ds2760_battery: Add rated capacity of the hx4700
3600mAh battery
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@...il.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists