Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/greybus/
H A Dpower_supply.c423 static int total_props(struct gb_power_supply *gbpsy) in total_props() function
435 new_props_raw = krealloc(gbpsy->props_raw, total_props(gbpsy) * in prop_append()
441 gbpsy->props_raw[total_props(gbpsy) - 1] = prop; in prop_append()
827 gbpsy->desc.num_properties = total_props(gbpsy); in gb_power_supply_register()