Skip to content

Commit a21ecc5

Browse files
kbinghamffainelli
authored andcommitted
firmware: raspberrypi: Fix devm_rpi_firmware_get documentation
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Florian Fainelli <[email protected]>
1 parent 0bb80ec commit a21ecc5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/firmware/raspberrypi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ EXPORT_SYMBOL_GPL(rpi_firmware_get);
378378

379379
/**
380380
* devm_rpi_firmware_get - Get pointer to rpi_firmware structure.
381+
* @dev: The firmware device structure
381382
* @firmware_node: Pointer to the firmware Device Tree node.
382383
*
383384
* Returns NULL is the firmware device is not ready.

0 commit comments

Comments
 (0)