ACPI / platform: fix comment about the platform device name
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 18 Jan 2013 14:09:35 +0000 (14:09 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 19 Jan 2013 21:16:29 +0000 (22:16 +0100)
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>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_platform.c

index db129b9f52cba6c8634439fd2f753ec10bc1246e..5554aea4bb0e77ae0937be6769984886282f164a 100644 (file)
@@ -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)
 {