Searched refs:to_ps_attr (Results 1 – 1 of 1) sorted by relevance
229 static struct power_supply_attr *to_ps_attr(struct device_attribute *attr) in to_ps_attr() function236 return to_ps_attr(attr) - power_supply_attrs; in dev_attr_psp()278 struct power_supply_attr *ps_attr = to_ps_attr(attr); in power_supply_show_property()325 struct power_supply_attr *ps_attr = to_ps_attr(attr); in power_supply_store_property()