Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4820938ybl; Wed, 22 Jan 2020 05:23:16 -0800 (PST) X-Google-Smtp-Source: APXvYqzFjRYv9skLHpelCkd6KGHJ+JRFYBBSLqyq8SzqkL8zGYXVnrs/FFHtHo6j5wMevmB/Wqmz X-Received: by 2002:a9d:7305:: with SMTP id e5mr7099936otk.64.1579699396729; Wed, 22 Jan 2020 05:23:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579699396; cv=none; d=google.com; s=arc-20160816; b=IBodyxG2UQlCZU+NFrE41273hvIjpDj8Uy6sDel98TXIr/3ndOqoPLUkFdgF8/213G u9ALp5SmDdvDph71xSc6asKuxlvY/kRsJxC7BQnUMgTC/vDPG60LoVdats0CiLVGaERz IktRX9VOJmZGoFWpDygrCxrn8oE6F3/DVzWSlE2vePSnRrM5h+aTs9EL1q+blSE5AN6N a3l/tzYbpqym8SWyDo18Wix+mWJ2dUUZ19tkt63TUUmDJzqEYgQyx8EC+GpLrADOW5th EtcOyD0HWdESMNzySVW+qWYMIuBdDBK0cvaOJafsfvjuyPW7L5VIENzf2Qz5wMJQ53ae nLnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=fud2SCojs7dCR8adIO00/eTVGiwwhqVEiki6jJ7WMfE=; b=0xsckSw5B6GULD3DdFzZOMGoGjL+Eebq8rU5stkLq6EG13f2jGw1xGZZGMO+pD3zqG AJiQOlWr9eVLaiTu2xVBSsk9fR06dBAhN2qF0K/CHag1sExZl5yFteAckEeqvb9v/o6n GtsjhLgrK41050pT3l8le9R2Vs5MVCs8/md0nZj5lTeXlfZwAE52Hw//pndX6JxScc7+ W6De5GbNPF5Jc1beFDJtZL+VJs9h9An47llopPCMPMkdrJXiGzreNqslh4GwCAYOXqQ5 BHzgMh/ONMjT2s/XJ+tc4qA+6GI87B9KD1DmC8HzQkVmay0bXvZruhthrFJrASAOOQN7 0y8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=NWBuSHmZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f17si22986092otq.96.2020.01.22.05.23.04; Wed, 22 Jan 2020 05:23:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=NWBuSHmZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729047AbgAVNVn (ORCPT + 99 others); Wed, 22 Jan 2020 08:21:43 -0500 Received: from mail.kernel.org ([198.145.29.99]:38862 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729499AbgAVNVl (ORCPT ); Wed, 22 Jan 2020 08:21:41 -0500 Received: from localhost (unknown [84.241.205.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 247ED205F4; Wed, 22 Jan 2020 13:21:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579699300; bh=FWHswXzkNQm18OyLbLiUrWXEQH2JOo9N+oPvZnCU2vY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NWBuSHmZxzqyiL5vsvY93rdR8YX5WBqMHF6tLBQwGInbLfIrZtA9UQWXeeZct1kvk CpmXarsl3KiiQWmskqSV8zqgEAYBBjzzXB+cr0r4eK/21N/SpINsCvqh2KTIhnnEx/ hwEohdwRFsVOAs2X0dvTHK7cJWf5XsMPnSnKdOyU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Geert Uytterhoeven , Philipp Zabel Subject: [PATCH 5.4 101/222] reset: Fix {of,devm}_reset_control_array_get kerneldoc return types Date: Wed, 22 Jan 2020 10:28:07 +0100 Message-Id: <20200122092840.971841376@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200122092833.339495161@linuxfoundation.org> References: <20200122092833.339495161@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Geert Uytterhoeven commit 723c0011c7f6992f57e2c629fa9c89141acc115f upstream. of_reset_control_array_get() and devm_reset_control_array_get() return struct reset_control pointers, not internal struct reset_control_array pointers, just like all other reset control API calls. Correct the kerneldoc to match the code. Fixes: 17c82e206d2a3cd8 ("reset: Add APIs to manage array of resets") Signed-off-by: Geert Uytterhoeven Signed-off-by: Philipp Zabel Signed-off-by: Greg Kroah-Hartman --- drivers/reset/core.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) --- a/drivers/reset/core.c +++ b/drivers/reset/core.c @@ -861,8 +861,7 @@ static int of_reset_control_get_count(st * @acquired: only one reset control may be acquired for a given controller * and ID * - * Returns pointer to allocated reset_control_array on success or - * error on failure + * Returns pointer to allocated reset_control on success or error on failure */ struct reset_control * of_reset_control_array_get(struct device_node *np, bool shared, bool optional, @@ -915,8 +914,7 @@ EXPORT_SYMBOL_GPL(of_reset_control_array * that just have to be asserted or deasserted, without any * requirements on the order. * - * Returns pointer to allocated reset_control_array on success or - * error on failure + * Returns pointer to allocated reset_control on success or error on failure */ struct reset_control * devm_reset_control_array_get(struct device *dev, bool shared, bool optional)