diff mbox

ACPI / platform: fix comment about the platform device name

Message ID 1358518175-23197-1-git-send-email-mika.westerberg@linux.intel.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Mika Westerberg Jan. 18, 2013, 2:09 p.m. UTC
We don't use _UID anymore, instead the name will be taken from the
corresponding ACPI device (adev). Fix the obsolete comment.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
---
 drivers/acpi/acpi_platform.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rafael Wysocki Jan. 19, 2013, 12:37 a.m. UTC | #1
On Friday, January 18, 2013 04:09:35 PM Mika Westerberg wrote:
> We don't use _UID anymore, instead the name will be taken from the
> corresponding ACPI device (adev). Fix the obsolete comment.

I'm going to apply it.

Thanks,
Rafael


> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
> ---
>  drivers/acpi/acpi_platform.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/acpi/acpi_platform.c b/drivers/acpi/acpi_platform.c
> index db129b9..5554aea 100644
> --- a/drivers/acpi/acpi_platform.c
> +++ b/drivers/acpi/acpi_platform.c
> @@ -29,7 +29,7 @@ ACPI_MODULE_NAME("platform");
>   * that's the case, create and register a platform device, populate its common
>   * resources and returns a pointer to it.  Otherwise, return %NULL.
>   *
> - * The platform device's name will be taken from the @adev's _HID and _UID.
> + * Name of the platform device will be the same as @adev's.
>   */
>  struct platform_device *acpi_create_platform_device(struct acpi_device *adev)
>  {
>
diff mbox

Patch

diff --git a/drivers/acpi/acpi_platform.c b/drivers/acpi/acpi_platform.c
index db129b9..5554aea 100644
--- a/drivers/acpi/acpi_platform.c
+++ b/drivers/acpi/acpi_platform.c
@@ -29,7 +29,7 @@  ACPI_MODULE_NAME("platform");
  * that's the case, create and register a platform device, populate its common
  * resources and returns a pointer to it.  Otherwise, return %NULL.
  *
- * The platform device's name will be taken from the @adev's _HID and _UID.
+ * Name of the platform device will be the same as @adev's.
  */
 struct platform_device *acpi_create_platform_device(struct acpi_device *adev)
 {