diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2013-01-18 09:09:35 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-19 16:16:29 -0500 |
commit | 7eaa2800408a32b9e21ead69ad578ad68039cae9 (patch) | |
tree | 7746e27b1211735648f3c7830f7246fd9daac300 | |
parent | 13176bbf183c82281a0e65519780ffebff5abc9d (diff) |
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.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | drivers/acpi/acpi_platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpi_platform.c b/drivers/acpi/acpi_platform.c index db129b9f52cb..5554aea4bb0e 100644 --- a/drivers/acpi/acpi_platform.c +++ b/drivers/acpi/acpi_platform.c | |||
@@ -29,7 +29,7 @@ ACPI_MODULE_NAME("platform"); | |||
29 | * that's the case, create and register a platform device, populate its common | 29 | * that's the case, create and register a platform device, populate its common |
30 | * resources and returns a pointer to it. Otherwise, return %NULL. | 30 | * resources and returns a pointer to it. Otherwise, return %NULL. |
31 | * | 31 | * |
32 | * The platform device's name will be taken from the @adev's _HID and _UID. | 32 | * Name of the platform device will be the same as @adev's. |
33 | */ | 33 | */ |
34 | struct platform_device *acpi_create_platform_device(struct acpi_device *adev) | 34 | struct platform_device *acpi_create_platform_device(struct acpi_device *adev) |
35 | { | 35 | { |