power: bq2419x-charger: remove callback API for charger status update
Laxman Dewangan [Wed, 19 Jun 2013 07:50:16 +0000 (12:50 +0530)]
Remove passing of callback APIs through platform data for updating
charging status to gauge driver as this can be achieve now with
battery-charger-gauge-comm driver.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/240073
(cherry picked from commit 3fee7cf3dffa8e197c50f7134bb9bf72ab1f7fc1)

Change-Id: I791c04e95ca577443a5e361115708ee62ade89a0
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/253352
Reviewed-by: Automatic_Commit_Validation_User

include/linux/power/bq2419x-charger.h

index 9ab5d2b..34f40b4 100644 (file)
@@ -108,7 +108,6 @@ struct bq2419x_vbus_platform_data {
 struct bq2419x_charger_platform_data {
        int use_usb;
        int use_mains;
-       void (*update_status)(int, int);
        int (*battery_check)(void);
 
        int max_charge_volt_mV;