From d47aa761612c9bc2174718889cdab185cb20b723 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Sun, 7 Sep 2014 15:54:24 -0700 Subject: [PATCH] greybus: battery FIXME added --- drivers/staging/greybus/battery-gb.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/greybus/battery-gb.c b/drivers/staging/greybus/battery-gb.c index 123b2af..242b34f 100644 --- a/drivers/staging/greybus/battery-gb.c +++ b/drivers/staging/greybus/battery-gb.c @@ -14,6 +14,10 @@ struct gb_battery { struct power_supply bat; + // FIXME + // we will want to keep the battery stats in here as we will be getting + // updates from the SVC "on the fly" so we don't have to always go ask + // the battery for some information. Hopefully... struct greybus_device *gdev; }; #define to_gb_battery(x) container_of(x, struct gb_battery, bat) @@ -47,8 +51,6 @@ static int get_voltage(struct gb_battery *gb) return 0; } - - static int get_property(struct power_supply *b, enum power_supply_property psp, union power_supply_propval *val) -- 2.7.4