Searched refs:alarm_attr (Results 1 – 2 of 2) sorted by relevance
468 static const struct device_attribute alarm_attr = { variable545 result = device_create_file(&battery->bat->dev, &alarm_attr); in acpi_battery_add()562 device_remove_file(&battery->bat->dev, &alarm_attr); in acpi_battery_remove()
654 static const struct device_attribute alarm_attr = { variable827 return device_create_file(&battery->bat->dev, &alarm_attr); in sysfs_add_battery()838 device_remove_file(&battery->bat->dev, &alarm_attr); in sysfs_remove_battery()