Skip to content

Commit

Permalink
firmware: raspberrypi: Fix devm_rpi_firmware_get documentation
Browse files Browse the repository at this point in the history
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: f663204 ("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>
  • Loading branch information
Kieran Bingham authored and Florian Fainelli committed Oct 9, 2023
1 parent 0bb80ec commit a21ecc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/firmware/raspberrypi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a21ecc5

Please sign in to comment.