2014-07-11 18:04:14

by Darren Hart

[permalink] [raw]
Subject: [PATCH] Documentation: Remove reference to acpi_platform_device_ids from acpi/enumeration

As of:

4845934 ACPI / scan: use platform bus type by default for _HID enumeration

ACPI uses the platform bus by default, changing the opt-in to an opt-out
policy, eliminating the acpi_platform_device_ids table and replacing it
with forbidden_id_list[].

Remove the qualifying paragraph from the acpi/enumeration documentation
as it no longer applies.

Reported-by: Max Eliaser <[email protected]>
Signed-off-by: Darren Hart <[email protected]>
Cc: Mika Westerberg <[email protected]>
Cc: Rafael J. Wysocki <[email protected]>
---
Documentation/acpi/enumeration.txt | 6 ------
1 file changed, 6 deletions(-)

diff --git a/Documentation/acpi/enumeration.txt b/Documentation/acpi/enumeration.txt
index fd786ea..e182be5 100644
--- a/Documentation/acpi/enumeration.txt
+++ b/Documentation/acpi/enumeration.txt
@@ -60,12 +60,6 @@ If the driver needs to perform more complex initialization like getting and
configuring GPIOs it can get its ACPI handle and extract this information
from ACPI tables.

-Currently the kernel is not able to automatically determine from which ACPI
-device it should make the corresponding platform device so we need to add
-the ACPI device explicitly to acpi_platform_device_ids list defined in
-drivers/acpi/acpi_platform.c. This limitation is only for the platform
-devices, SPI and I2C devices are created automatically as described below.
-
DMA support
~~~~~~~~~~~
DMA controllers enumerated via ACPI should be registered in the system to
--
2.0.0


2014-07-11 22:10:21

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH] Documentation: Remove reference to acpi_platform_device_ids from acpi/enumeration

On Friday, July 11, 2014 11:03:39 AM Darren Hart wrote:
> As of:
>
> 4845934 ACPI / scan: use platform bus type by default for _HID enumeration
>
> ACPI uses the platform bus by default, changing the opt-in to an opt-out
> policy, eliminating the acpi_platform_device_ids table and replacing it
> with forbidden_id_list[].
>
> Remove the qualifying paragraph from the acpi/enumeration documentation
> as it no longer applies.

Sure thing. I was about to do that myself, but you beat me to it. :-)

Applied, thanks!

> Reported-by: Max Eliaser <[email protected]>
> Signed-off-by: Darren Hart <[email protected]>
> Cc: Mika Westerberg <[email protected]>
> Cc: Rafael J. Wysocki <[email protected]>
> ---
> Documentation/acpi/enumeration.txt | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/Documentation/acpi/enumeration.txt b/Documentation/acpi/enumeration.txt
> index fd786ea..e182be5 100644
> --- a/Documentation/acpi/enumeration.txt
> +++ b/Documentation/acpi/enumeration.txt
> @@ -60,12 +60,6 @@ If the driver needs to perform more complex initialization like getting and
> configuring GPIOs it can get its ACPI handle and extract this information
> from ACPI tables.
>
> -Currently the kernel is not able to automatically determine from which ACPI
> -device it should make the corresponding platform device so we need to add
> -the ACPI device explicitly to acpi_platform_device_ids list defined in
> -drivers/acpi/acpi_platform.c. This limitation is only for the platform
> -devices, SPI and I2C devices are created automatically as described below.
> -
> DMA support
> ~~~~~~~~~~~
> DMA controllers enumerated via ACPI should be registered in the system to
>

--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.