Searched refs:battery_node (Results 1 – 1 of 1) sorted by relevance
496 struct device_node *battery_node; in ab8500_bm_of_probe() local501 battery_node = of_parse_phandle(np, "battery", 0); in ab8500_bm_of_probe()502 if (!battery_node) { in ab8500_bm_of_probe()507 btech = of_get_property(battery_node, "stericsson,battery-type", NULL); in ab8500_bm_of_probe()510 of_node_put(battery_node); in ab8500_bm_of_probe()524 if (of_property_read_bool(battery_node, "thermistor-on-batctrl")) { in ab8500_bm_of_probe()540 of_node_put(battery_node); in ab8500_bm_of_probe()