diff options
author | John Garry <john.garry@huawei.com> | 2018-03-15 02:15:56 +0800 |
---|---|---|
committer | Bjorn Helgaas <helgaas@kernel.org> | 2018-04-04 08:42:49 -0500 |
commit | d87fb0917a073d71300b2b31b3773f6690bd1712 (patch) | |
tree | 25e1c7533bd7cac9fe11e4678853f3ca12165484 /fs/coda | |
parent | adf38bb0b5956ab5469acb1ca981a9287c7ad1d8 (diff) | |
download | linux-stable-d87fb0917a073d71300b2b31b3773f6690bd1712.tar.gz linux-stable-d87fb0917a073d71300b2b31b3773f6690bd1712.tar.bz2 linux-stable-d87fb0917a073d71300b2b31b3773f6690bd1712.zip |
ACPI / scan: Rename acpi_is_serial_bus_slave() for more general use
Currently the ACPI scan has special handling for serial bus slaves, in that
it makes it the responsibility of the slave device's parent to enumerate
the device.
To support other types of slave devices which require the same special
handling but where the bus is not strictly a serial bus, such as devices on
the HiSilicon LPC controller bus, rename acpi_is_serial_bus_slave() to
acpi_device_enumeration_by_parent(), so that the name can fit the wider
purpose.
Also rename the associated device flag acpi_device_flags.serial_bus_slave
to .enumeration_by_parent.
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'fs/coda')
0 files changed, 0 insertions, 0 deletions