power: Add battery driver for goldfish emulator
authorMike Lockwood <lockwood@android.com>
Fri, 25 Jan 2013 15:30:00 +0000 (15:30 +0000)
committerAnton Vorontsov <anton@enomsg.org>
Sun, 3 Feb 2013 03:06:34 +0000 (19:06 -0800)
commit84d7b768748943db2bb658b43931fdab04c224cc
tree8fc3e930ba86848187820d89157fa88ec80f946b
parent8fd526fd18233887ba652079a369f4eee0de9d9d
power: Add battery driver for goldfish emulator

Add the emulated power driver for the Goldfish platform.

This folds together the code from the Google tree, Jun Nakajima's cleanups
and x86 porting work, and then a tidy up to pass checkpatch.

Signed-off-by: Mike A. Chan <mikechan@google.com>
[cleanup and x86 support]
Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
[ported to 3.4]
Signed-off-by: Tom Keel <thomas.keel@intel.com>
[ported to 3.7 and final tidy]
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/Kconfig
drivers/power/Makefile
drivers/power/goldfish_battery.c [new file with mode: 0644]