batt_ps 23 drivers/power/supply/z2_battery.c struct power_supply *batt_ps; batt_ps 40 drivers/power/supply/z2_battery.c static int z2_batt_get_property(struct power_supply *batt_ps, batt_ps 44 drivers/power/supply/z2_battery.c struct z2_charger *charger = power_supply_get_drvdata(batt_ps); batt_ps 82 drivers/power/supply/z2_battery.c static void z2_batt_ext_power_changed(struct power_supply *batt_ps) batt_ps 84 drivers/power/supply/z2_battery.c struct z2_charger *charger = power_supply_get_drvdata(batt_ps); batt_ps 105 drivers/power/supply/z2_battery.c pr_debug("%s: %i -> %i\n", charger->batt_ps->desc->name, batt_ps 108 drivers/power/supply/z2_battery.c power_supply_changed(charger->batt_ps); batt_ps 233 drivers/power/supply/z2_battery.c charger->batt_ps = power_supply_register(&client->dev, batt_ps 236 drivers/power/supply/z2_battery.c if (IS_ERR(charger->batt_ps)) { batt_ps 237 drivers/power/supply/z2_battery.c ret = PTR_ERR(charger->batt_ps); batt_ps 264 drivers/power/supply/z2_battery.c power_supply_unregister(charger->batt_ps);