[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230925151812.142480-1-kieran.bingham+renesas@ideasonboard.com>
Date: Mon, 25 Sep 2023 16:18:11 +0100
From: Kieran Bingham <kieran.bingham+renesas@...asonboard.com>
To: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-rpi-kernel@...ts.infradead.org,
Florian Fainelli <florian.fainelli@...adcom.com>
Cc: Kieran Bingham <kieran.bingham@...asonboard.com>,
Kieran Bingham <kieran.bingham+renesas@...asonboard.com>,
Broadcom internal kernel review list
<bcm-kernel-feedback-list@...adcom.com>,
Maxime Ripard <mripard@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Rob Herring <robh@...nel.org>,
Joel Savitz <jsavitz@...hat.com>,
Yang Yingliang <yangyingliang@...wei.com>,
Yuan Can <yuancan@...wei.com>,
Bartosz Golaszewski <bgolaszewski@...libre.com>,
Nicolas Saenz Julienne <nsaenz@...nel.org>
Subject: [PATCH] firmware: raspberrypi: Fix devm_rpi_firmware_get documentation
From: Kieran Bingham <kieran.bingham@...asonboard.com>
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 <kieran.bingham@...asonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham+renesas@...asonboard.com>
---
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.
--
2.34.1
Powered by blists - more mailing lists