power_supply: Add gpio charger driver
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 21 Oct 2010 15:55:01 +0000 (17:55 +0200)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Thu, 18 Nov 2010 13:56:17 +0000 (16:56 +0300)
commit5070437cd99511f69ae561f2ab417142a47a85ec
tree379dd2ab427ff33c09bee57f9d89726071b64137
parent8ec98fe0b4ffdedce4c1caa9fb3d550f52ad1c6b
power_supply: Add gpio charger driver

This patch adds a simple driver for chargers indicating their online
status through a GPIO pin.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/Kconfig
drivers/power/Makefile
drivers/power/gpio-charger.c [new file with mode: 0644]
include/linux/power/gpio-charger.h [new file with mode: 0644]