Skip to content

Commit 90ac80d

Browse files
committed
Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux
Pull clk fix from Stephen Boyd: "One hotfix for a NULL pointer deref in the Renesas usb clk driver" * tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: clk: renesas: rcar-usb2-clock-sel: Fix kernel NULL pointer dereference
2 parents 537b57b + 1669a94 commit 90ac80d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/renesas/rcar-usb2-clock-sel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ static int rcar_usb2_clock_sel_probe(struct platform_device *pdev)
187187
init.ops = &usb2_clock_sel_clock_ops;
188188
priv->hw.init = &init;
189189

190-
ret = devm_clk_hw_register(NULL, &priv->hw);
190+
ret = devm_clk_hw_register(dev, &priv->hw);
191191
if (ret)
192192
goto pm_put;
193193

0 commit comments

Comments
 (0)