瀏覽代碼

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>
Johan Hovold 8 年之前
父節點
當前提交
71ec6f4f73
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      drivers/of/platform.c

+ 0 - 3
drivers/of/platform.c

@@ -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)
 {