Home
last modified time | relevance | path

Searched refs:sbs_desc (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Dsbs-charger.c157 static const struct power_supply_desc sbs_desc = { variable
194 chip->power_supply = devm_power_supply_register(&client->dev, &sbs_desc, &psy_cfg); in sbs_probe()
H A Dsbs-battery.c1118 struct power_supply_desc *sbs_desc; in sbs_probe() local
1124 sbs_desc = devm_kmemdup(&client->dev, &sbs_default_desc, in sbs_probe()
1125 sizeof(*sbs_desc), GFP_KERNEL); in sbs_probe()
1126 if (!sbs_desc) in sbs_probe()
1129 sbs_desc->name = devm_kasprintf(&client->dev, GFP_KERNEL, "sbs-%s", in sbs_probe()
1131 if (!sbs_desc->name) in sbs_probe()
1213 chip->power_supply = devm_power_supply_register(&client->dev, sbs_desc, in sbs_probe()