Skip to content

Commit

Permalink
of/platform: fix of_platform_device_destroy comment
Browse files Browse the repository at this point in the history
Update the comment to of_platform_device_destroy() to reflect that it no
longer returns a status value.

Fixes: 75f353b ("of/platform: Fix of_platform_device_destroy...")
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
  • Loading branch information
jhovold authored and robherring committed Nov 15, 2016
1 parent 5581a95 commit 71ec6f4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/of/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 71ec6f4

Please sign in to comment.