greybus: battery-gb: Add battery communication with the module
authorGreg Kroah-Hartman <greg@kroah.com>
Tue, 21 Oct 2014 06:31:24 +0000 (14:31 +0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 21 Oct 2014 06:31:24 +0000 (14:31 +0800)
commitc0855bfdd65dd5c100d5c63daab5897a117d8b49
treee2f6d8ce6757e70d66c3738024a3dc43b3c1d59f
parent1ec1d6dd357766cb6d1816ad61cc0f7ca3dbc960
greybus: battery-gb: Add battery communication with the module

This adds support to talk to the battery to get the various requests
made to it, based on the battery protocol defined in the Greybus
Specification.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/battery-gb.c