From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1168745AbcKAKxi (ORCPT ); Tue, 1 Nov 2016 06:53:38 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:34022 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1168696AbcKAKxg (ORCPT ); Tue, 1 Nov 2016 06:53:36 -0400 From: Johan Hovold To: Rob Herring Cc: Frank Rowand , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 1/2] of/platform: fix of_platform_device_destroy comment Date: Tue, 1 Nov 2016 11:53:21 +0100 Message-Id: <1477997602-29652-1-git-send-email-johan@kernel.org> X-Mailer: git-send-email 2.7.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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