diff options
author | Adam Ford <aford173@gmail.com> | 2021-08-26 09:17:21 -0500 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2021-08-28 21:29:36 -0700 |
commit | 1669a941f7c4844ae808cf441db51dde9e94db07 (patch) | |
tree | a08ffbbb636020403725341e2f6eb797512e9536 /drivers/clk/clk-stm32mp1.c | |
parent | 9711759a87a041705148161b937ec847048d882e (diff) | |
download | linux-stable-1669a941f7c4844ae808cf441db51dde9e94db07.tar.gz linux-stable-1669a941f7c4844ae808cf441db51dde9e94db07.tar.bz2 linux-stable-1669a941f7c4844ae808cf441db51dde9e94db07.zip |
clk: renesas: rcar-usb2-clock-sel: Fix kernel NULL pointer dereference
The probe was manually passing NULL instead of dev to devm_clk_hw_register.
This caused a Unable to handle kernel NULL pointer dereference error.
Fix this by passing 'dev'.
Signed-off-by: Adam Ford <aford173@gmail.com>
Fixes: a20a40a8bbc2 ("clk: renesas: rcar-usb2-clock-sel: Fix error handling in .probe()")
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/clk-stm32mp1.c')
0 files changed, 0 insertions, 0 deletions