of/platform: fix of_platform_device_destroy comment
authorJohan Hovold <johan@kernel.org>
Tue, 1 Nov 2016 10:53:21 +0000 (11:53 +0100)
committerRob Herring <robh@kernel.org>
Tue, 15 Nov 2016 15:17:18 +0000 (09:17 -0600)
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>
drivers/of/platform.c

index e4bf07d20f9bbf416f756ca381d3340ce662272f..cb4c7800f37ddfd68d405a61536dc259bc95571d 100644 (file)
@@ -558,9 +558,6 @@ static int of_platform_device_destroy(struct device *dev, void *data)
  * of the given device (and, recurrently, their children) that have been
  * created from their respective device tree nodes (and only those,
  * leaving others - eg. manually created - unharmed).
- *
- * Returns 0 when all children devices have been removed or
- * -EBUSY when some children remained.
  */
 void of_platform_depopulate(struct device *parent)
 {