Lines Matching refs:charger
124 struct power_supply charger;
138 #define to_acpi_sbs(x) container_of(x, struct acpi_sbs, charger)
863 sbs->charger.name = "sbs-charger";
864 sbs->charger.type = POWER_SUPPLY_TYPE_MAINS;
865 sbs->charger.properties = sbs_ac_props;
866 sbs->charger.num_properties = ARRAY_SIZE(sbs_ac_props);
867 sbs->charger.get_property = sbs_get_ac_property;
868 power_supply_register(&sbs->device->dev, &sbs->charger);
880 if (sbs->charger.dev)
881 power_supply_unregister(&sbs->charger);
904 kobject_uevent(&sbs->charger.dev->kobj, KOBJ_CHANGE);