firmware: raspberrypi: Fix devm_rpi_firmware_get documentation
authorKieran Bingham <kieran.bingham@ideasonboard.com>
Mon, 25 Sep 2023 15:18:11 +0000 (16:18 +0100)
committerFlorian Fainelli <florian.fainelli@broadcom.com>
Mon, 9 Oct 2023 18:51:00 +0000 (11:51 -0700)
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@ideasonboard.com>
Link: https://lore.kernel.org/r/20230925151812.142480-1-kieran.bingham+renesas@ideasonboard.com
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
drivers/firmware/raspberrypi.c

index f66efaa5196d9d0efcb4230eebc2ec3e9e11b570..4cd290a60fbaaad10dc3d3ce9ced2146e2e6227d 100644 (file)
@@ -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.