From: Andres Salomon Date: Fri, 2 May 2008 20:41:59 +0000 (-0700) Subject: power_supply: cleanup of the OLPC battery driver X-Git-Tag: v2.6.27-rc2~110^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2bd8a3bcdd18101eb5d85c267c1a1fb8ce9acc7;p=pandora-kernel.git 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 Cc: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed