commit | b2bd8a3bcdd18101eb5d85c267c1a1fb8ce9acc7 | [log] [tgz] |
---|---|---|
author | Andres Salomon <dilinger@queued.net> | Fri May 02 13:41:59 2008 -0700 |
committer | Anton Vorontsov <cbouatmailru@gmail.com> | Sun May 04 13:14:05 2008 +0400 |
tree | 327477daa7d5ff48e9572958f7ca16214400ebd0 | |
parent | d7eb9e36c42504e87c7d92dd5c05cb6f2cf74d28 [diff] |
power_supply: cleanup of the OLPC battery driver Move portions of the massive switch statement into functions. The layout of this thing has already caused one bug (a break in the wrong place), it needed to shrink. Signed-off-by: Andres Salomon <dilinger@debian.org> Cc: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>