Skip to content

Commit 30de723

Browse files
committed
clk: bcm2835: Pass DT node to rpi_firmware_get
The fw_node pointer has already been retrieved, and using it allows us to remove a downstream patch to the firmware driver. Signed-off-by: Phil Elwell <phil@raspberrypi.com>
1 parent a35653e commit 30de723

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/clk/bcm/clk-bcm2835.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2345,7 +2345,7 @@ static int bcm2835_clk_probe(struct platform_device *pdev)
23452345

23462346
fw_node = of_parse_phandle(dev->of_node, "firmware", 0);
23472347
if (fw_node) {
2348-
struct rpi_firmware *fw = rpi_firmware_get(NULL);
2348+
struct rpi_firmware *fw = rpi_firmware_get(fw_node);
23492349
if (!fw)
23502350
return -EPROBE_DEFER;
23512351
cprman->fw = fw;

0 commit comments

Comments
 (0)