From patchwork Mon Sep 25 15:18:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 13397976 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7ADFACE7A81 for ; Mon, 25 Sep 2023 15:18:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=P8cxqXoM8rKMTH7kjjNefuP7ZS1tnGurfZShxhTBDzQ=; b=1BMBa5tTPEAe0B PORLwmpNUCp9Emc1tipuCMRpdT/hm1FF+xFW5QMrjsMlTxRK0X5AK4v37Q3ah04RnmDPlzNRwas2B kgjVYyiHmBHIdcWqwpuDrPX9BFAv0C06EMHfGcpbcPDKQeEv6hY61AAKU7KqKxdGUTdJd71DYV9N2 OdeD1ijfc/6Iei/KMk56anZhmzq55TG9dsXAwv2vAh7gVP4Hqewg+tZSFWkv+WXcaVOOPN4hwlA89 /OaM909qsGLP6BYsWuHIqafFMLz/e9LDywp7R7Tb6lldsty450SUJU3gXZZ4Od2hLB2VsoQo6KMFG ogBbaRqD+kK3DmfjBjTg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qknLu-00EX3j-1B; Mon, 25 Sep 2023 15:18:26 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qknLr-00EX24-0Q; Mon, 25 Sep 2023 15:18:24 +0000 Received: from Monstersaurus.local (aztw-30-b2-v4wan-166917-cust845.vm26.cable.virginm.net [82.37.23.78]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 79602291; Mon, 25 Sep 2023 17:16:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1695654997; bh=gozTk7lyY/6ypu7+3Un1hCKYcvFcJxTXtAmzQjFkaLI=; h=From:To:Cc:Subject:Date:From; b=oMiBoohc8SIuoAcuTVI3625y4eV251g502y9wyABX81qFHNcXv0OXZmQCn68Hm9B2 /+YjBsp9NieAjWt2pbAiNdcKICoDcNLwxM3M3fwQB8cfWTXOriFk6ZZIsrEHEZCE8d RBSq/oqc6qc5P3zs2n51aqV7Xqr52laf/obKCN8g= From: Kieran Bingham To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, Florian Fainelli Cc: Kieran Bingham , Kieran Bingham , Broadcom internal kernel review list , Maxime Ripard , Greg Kroah-Hartman , Rob Herring , Joel Savitz , Yang Yingliang , Yuan Can , Bartosz Golaszewski , Nicolas Saenz Julienne Subject: [PATCH] firmware: raspberrypi: Fix devm_rpi_firmware_get documentation Date: Mon, 25 Sep 2023 16:18:11 +0100 Message-Id: <20230925151812.142480-1-kieran.bingham+renesas@ideasonboard.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230925_081823_340322_DA54D709 X-CRM114-Status: UNSURE ( 8.35 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Kieran Bingham The function documentation for devm_rpi_firmware_get() was missing a description for the dev parameter. Provide it and clear the warning produced here. Fixes: f663204c9a1f ("firmware: raspberrypi: Introduce devm_rpi_firmware_get()") Signed-off-by: Kieran Bingham Signed-off-by: Kieran Bingham --- drivers/firmware/raspberrypi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/firmware/raspberrypi.c b/drivers/firmware/raspberrypi.c index f66efaa5196d..4cd290a60fba 100644 --- a/drivers/firmware/raspberrypi.c +++ b/drivers/firmware/raspberrypi.c @@ -378,6 +378,7 @@ EXPORT_SYMBOL_GPL(rpi_firmware_get); /** * devm_rpi_firmware_get - Get pointer to rpi_firmware structure. + * @dev: The firmware device structure * @firmware_node: Pointer to the firmware Device Tree node. * * Returns NULL is the firmware device is not ready.