Searched refs:hook_node (Results 1 – 1 of 1) sorted by relevance
761 struct acpi_battery_hook *hook_node, *tmp; in battery_hook_add_battery() local773 list_for_each_entry_safe(hook_node, tmp, &battery_hook_list, list) { in battery_hook_add_battery()774 if (hook_node->add_battery(battery->bat)) { in battery_hook_add_battery()780 hook_node->name); in battery_hook_add_battery()781 __battery_hook_unregister(hook_node, 0); in battery_hook_add_battery()