diff options
author | Johan Hovold <johan@kernel.org> | 2016-11-01 06:53:21 -0400 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2016-11-15 10:17:18 -0500 |
commit | 71ec6f4f7314d4d3ac44bae038bd748bd7961dc6 (patch) | |
tree | e4d88b409c50f7633caa422ac2f1b8ed6f7c26ae /drivers/of/platform.c | |
parent | 5581a95f2dacb3674827f450ac406e1f8ae3b3e5 (diff) |
of/platform: fix of_platform_device_destroy comment
Update the comment to of_platform_device_destroy() to reflect that it no
longer returns a status value.
Fixes: 75f353b61342 ("of/platform: Fix of_platform_device_destroy...")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/platform.c')
-rw-r--r-- | drivers/of/platform.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/of/platform.c b/drivers/of/platform.c index e4bf07d20f9b..cb4c7800f37d 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c | |||
@@ -558,9 +558,6 @@ static int of_platform_device_destroy(struct device *dev, void *data) | |||
558 | * of the given device (and, recurrently, their children) that have been | 558 | * of the given device (and, recurrently, their children) that have been |
559 | * created from their respective device tree nodes (and only those, | 559 | * created from their respective device tree nodes (and only those, |
560 | * leaving others - eg. manually created - unharmed). | 560 | * leaving others - eg. manually created - unharmed). |
561 | * | ||
562 | * Returns 0 when all children devices have been removed or | ||
563 | * -EBUSY when some children remained. | ||
564 | */ | 561 | */ |
565 | void of_platform_depopulate(struct device *parent) | 562 | void of_platform_depopulate(struct device *parent) |
566 | { | 563 | { |