Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1513215 > unrolled thread
| Started by | Johan Hovold <johan@kernel.org> |
|---|---|
| First post | 2016-11-01 12:00 +0100 |
| Last post | 2016-11-10 22:00 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH 1/2] of/platform: fix of_platform_device_destroy comment Johan Hovold <johan@kernel.org> - 2016-11-01 12:00 +0100
Re: [PATCH 1/2] of/platform: fix of_platform_device_destroy comment Rob Herring <robh@kernel.org> - 2016-11-10 22:00 +0100
| From | Johan Hovold <johan@kernel.org> |
|---|---|
| Date | 2016-11-01 12:00 +0100 |
| Subject | [PATCH 1/2] of/platform: fix of_platform_device_destroy comment |
| Message-ID | <syEXo-7Bz-13@gated-at.bofh.it> |
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>
---
drivers/of/platform.c | 3 ---
1 file changed, 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)
* 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)
{
--
2.7.3
[toc] | [next] | [standalone]
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Date | 2016-11-10 22:00 +0100 |
| Message-ID | <sC4BX-2Yy-15@gated-at.bofh.it> |
| In reply to | #1513215 |
On Tue, Nov 01, 2016 at 11:53:21AM +0100, Johan Hovold wrote:
> 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>
> ---
> drivers/of/platform.c | 3 ---
> 1 file changed, 3 deletions(-)
Both patches applied.
Rob
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web