From: Paul Fertser <fercerpav@gmail.com>
To: Anton Vorontsov <cbou@mail.ru>
Cc: David Woodhouse <dwmw2@infradead.org>,
linux-kernel@vger.kernel.org, Pavel Machek <pavel@ucw.cz>,
zaurus-devel@www.linuxtogo.org
Subject: [RFC PATCH 0/2] power: implement platform battery driver
Date: Tue, 10 Nov 2009 05:37:51 +0300 [thread overview]
Message-ID: <1257820673-30801-1-git-send-email-fercerpav@gmail.com> (raw)
Hi,
This is a simple generic implementation of a battery driver that
essentially gets all the information from platform-specific functions.
Tested on openmoko gta02 device but it looks like it can be useful for
other targets as well.
With such a simple driver it's quite easy for almost anybody to have an
opinion about an ideal implementation so come on, do not hesistate, i
really need your constructive feedback ;) One of the most obvious points is
the clumsy way to match entries in the properties arrays with the
callbacks. I did so to avoid an extra alloc + copy stuff but if you battery
guys find this really unacceptable, well, i'll do it the way you like :)
Pavel, i saw you posting spitz battery driver and thought you might find
this useful.
[RFC PATCH 1/2] power: implement platform battery driver
[RFC PATCH 2/2] gta02: add support for platform_battery
next reply other threads:[~2009-11-10 2:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-10 2:37 Paul Fertser [this message]
2009-11-10 2:37 ` [RFC PATCH 1/2] " Paul Fertser
2009-11-10 2:37 ` [RFC PATCH 2/2] gta02: add support for platform_battery Paul Fertser
2009-11-10 13:21 ` [RFC PATCH 1/2] power: implement platform battery driver Pavel Machek
2009-11-10 16:22 ` Paul Fertser
2009-11-10 20:51 ` Pavel Machek
2009-11-16 1:08 ` Anton Vorontsov
2009-11-16 14:56 ` Paul Fertser
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=1257820673-30801-1-git-send-email-fercerpav@gmail.com \
--to=fercerpav@gmail.com \
--cc=cbou@mail.ru \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=zaurus-devel@www.linuxtogo.org \
/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®