mirror of
https://github.com/torvalds/linux.git
synced 2024-11-19 02:21:47 +00:00
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>
This commit is contained in:
parent
13176bbf18
commit
7eaa280040
@ -29,7 +29,7 @@ ACPI_MODULE_NAME("platform");
|
|||||||
* that's the case, create and register a platform device, populate its common
|
* that's the case, create and register a platform device, populate its common
|
||||||
* resources and returns a pointer to it. Otherwise, return %NULL.
|
* 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)
|
struct platform_device *acpi_create_platform_device(struct acpi_device *adev)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user