mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] power: implement platform battery driver
@ 2009-11-10  2:37 Paul Fertser
  2009-11-10  2:37 ` [RFC PATCH 1/2] " Paul Fertser
  0 siblings, 1 reply; 8+ messages in thread
From: Paul Fertser @ 2009-11-10  2:37 UTC (permalink / raw)
  To: Anton Vorontsov; +Cc: David Woodhouse, linux-kernel, Pavel Machek, zaurus-devel

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-11-16 14:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-10  2:37 [RFC PATCH 0/2] power: implement platform battery driver Paul Fertser
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

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®