Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Johan Hovold and committed by
Rob Herring
71ec6f4f 5581a95f

-3
-3
drivers/of/platform.c
··· 558 558 * of the given device (and, recurrently, their children) that have been 559 559 * created from their respective device tree nodes (and only those, 560 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 562 void of_platform_depopulate(struct device *parent) 566 563 {