diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-08-29 22:52:17 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-08-29 22:52:17 +0300 |
commit | 90ac80dcd3136da7c5694835d6cad2010aa08798 (patch) | |
tree | 8d24cd035b8d5411ddb660cdafacba3b47eb77f6 /drivers/clk | |
parent | 537b57bd5a202af145c266d4773971c2c9f90cd9 (diff) | |
parent | 1669a941f7c4844ae808cf441db51dde9e94db07 (diff) | |
download | linux-90ac80dcd3136da7c5694835d6cad2010aa08798.tar.xz |
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
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/renesas/rcar-usb2-clock-sel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/renesas/rcar-usb2-clock-sel.c b/drivers/clk/renesas/rcar-usb2-clock-sel.c index 9fb79bd79435..684d8937965e 100644 --- a/drivers/clk/renesas/rcar-usb2-clock-sel.c +++ b/drivers/clk/renesas/rcar-usb2-clock-sel.c @@ -187,7 +187,7 @@ static int rcar_usb2_clock_sel_probe(struct platform_device *pdev) init.ops = &usb2_clock_sel_clock_ops; priv->hw.init = &init; - ret = devm_clk_hw_register(NULL, &priv->hw); + ret = devm_clk_hw_register(dev, &priv->hw); if (ret) goto pm_put; |