Skip to content

Commit a10660f

Browse files
pterjanrafaeljw
authored andcommitted
ACPI: Delete unused proc filename macros
Those were used to create files in /proc/acpi long ago and were missed when that code was deleted. Signed-off-by: Pascal Terjan <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 2ef96a5 commit a10660f

File tree

5 files changed

+0
-9
lines changed

5 files changed

+0
-9
lines changed

drivers/acpi/button.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#define PREFIX "ACPI: "
2525

2626
#define ACPI_BUTTON_CLASS "button"
27-
#define ACPI_BUTTON_FILE_INFO "info"
2827
#define ACPI_BUTTON_FILE_STATE "state"
2928
#define ACPI_BUTTON_TYPE_UNKNOWN 0x00
3029
#define ACPI_BUTTON_NOTIFY_STATUS 0x80

drivers/acpi/ec.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434

3535
#define ACPI_EC_CLASS "embedded_controller"
3636
#define ACPI_EC_DEVICE_NAME "Embedded Controller"
37-
#define ACPI_EC_FILE_INFO "info"
3837

3938
/* EC status register */
4039
#define ACPI_EC_FLAG_OBF 0x01 /* Output buffer full */

drivers/acpi/pci_link.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131
ACPI_MODULE_NAME("pci_link");
3232
#define ACPI_PCI_LINK_CLASS "pci_irq_routing"
3333
#define ACPI_PCI_LINK_DEVICE_NAME "PCI Interrupt Link"
34-
#define ACPI_PCI_LINK_FILE_INFO "info"
35-
#define ACPI_PCI_LINK_FILE_STATUS "state"
3634
#define ACPI_PCI_LINK_MAX_POSSIBLE 16
3735

3836
static int acpi_pci_link_add(struct acpi_device *device,

drivers/acpi/power.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@
3636
ACPI_MODULE_NAME("power");
3737
#define ACPI_POWER_CLASS "power_resource"
3838
#define ACPI_POWER_DEVICE_NAME "Power Resource"
39-
#define ACPI_POWER_FILE_INFO "info"
40-
#define ACPI_POWER_FILE_STATUS "state"
4139
#define ACPI_POWER_RESOURCE_STATE_OFF 0x00
4240
#define ACPI_POWER_RESOURCE_STATE_ON 0x01
4341
#define ACPI_POWER_RESOURCE_STATE_UNKNOWN 0xFF

drivers/acpi/sbs.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@
2828
#define ACPI_SBS_CLASS "sbs"
2929
#define ACPI_AC_CLASS "ac_adapter"
3030
#define ACPI_SBS_DEVICE_NAME "Smart Battery System"
31-
#define ACPI_SBS_FILE_INFO "info"
32-
#define ACPI_SBS_FILE_STATE "state"
33-
#define ACPI_SBS_FILE_ALARM "alarm"
3431
#define ACPI_BATTERY_DIR_NAME "BAT%i"
3532
#define ACPI_AC_DIR_NAME "AC0"
3633

0 commit comments

Comments
 (0)