Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8308e8ab authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by Len Brown
Browse files

ACPI: remove unused acpi_bus_ops flags



In acpi_bus_ops, only the acpi_op_add and acpi_op_start flags are used,
so remove all the rest.

Signed-off-by: default avatarBjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent c0ce093f
Loading
Loading
Loading
Loading
+0 −10
Original line number Original line Diff line number Diff line
@@ -98,17 +98,7 @@ typedef int (*acpi_op_unbind) (struct acpi_device * device);


struct acpi_bus_ops {
struct acpi_bus_ops {
	u32 acpi_op_add:1;
	u32 acpi_op_add:1;
	u32 acpi_op_remove:1;
	u32 acpi_op_lock:1;
	u32 acpi_op_start:1;
	u32 acpi_op_start:1;
	u32 acpi_op_stop:1;
	u32 acpi_op_suspend:1;
	u32 acpi_op_resume:1;
	u32 acpi_op_scan:1;
	u32 acpi_op_bind:1;
	u32 acpi_op_unbind:1;
	u32 acpi_op_shutdown:1;
	u32 reserved:21;
};
};


struct acpi_device_ops {
struct acpi_device_ops {