Skip to contentSkip to conversation

ACPI / platform: fix comment about the platform device name

PATCH In review Mika Westerberg 2 participants 2 messages Jan 18, 2013 – Jan 19, 2013 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI / platform: fix comment about the platform device name

We don't use _UID anymore, instead the name will be taken from the corresponding ACPI device (adev). Fix the obsolete comment.

---
 drivers/acpi/acpi_platform.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/acpi_platform.c +1 -1
index db129b9..5554aea 100644
@@ -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)
 {
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 2 lines · Mika Westerberg

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

Quoted 19 lines
---
 drivers/acpi/acpi_platform.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/acpi_platform.c +1 -1
index db129b9..5554aea 100644
@@ -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)
 {
Signature · 2 lines
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.