Searched refs:ACPI_BATTERY_CLASS (Results 1 – 4 of 4) sorted by relevance
35 #define ACPI_BATTERY_CLASS "battery" macro79 proc_mkdir(ACPI_BATTERY_CLASS, acpi_root_dir); in acpi_lock_battery_dir()85 "Cannot create %s\n", ACPI_BATTERY_CLASS); in acpi_lock_battery_dir()99 remove_proc_entry(ACPI_BATTERY_CLASS, acpi_root_dir); in acpi_unlock_battery_dir()
4 #define ACPI_BATTERY_CLASS "battery" macro
297 if (strcmp(event->device_class, ACPI_BATTERY_CLASS) == 0 && in acpi_ac_battery_notify()
1188 strcpy(acpi_device_class(device), ACPI_BATTERY_CLASS); in acpi_battery_add()1272 .class = ACPI_BATTERY_CLASS,