Skip to content

Commit e3b9b27

Browse files
committed
ACPI: Drop redundant acpi_dev_parent() header
Because acpi_dev_parent() is defined as static inline, the extra header of it in acpi_bus.h is redundant, so drop it. Fixes: 62fcb99 ("ACPI: Drop parent field from struct acpi_device") Reported-by: Hanjun Guo <guohanjun@huawei.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Hanjun Guo <guohanjun@huawei.com>
1 parent d5008ef commit e3b9b27

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/acpi/acpi_bus.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,6 @@ void acpi_initialize_hp_context(struct acpi_device *adev,
485485
/* acpi_device.dev.bus == &acpi_bus_type */
486486
extern struct bus_type acpi_bus_type;
487487

488-
struct acpi_device *acpi_dev_parent(struct acpi_device *adev);
489488
int acpi_bus_for_each_dev(int (*fn)(struct device *, void *), void *data);
490489
int acpi_dev_for_each_child(struct acpi_device *adev,
491490
int (*fn)(struct acpi_device *, void *), void *data);

0 commit comments

Comments
 (0)