]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: check hw and hw->dev before dereference it
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Mon, 7 Sep 2020 14:46:32 +0000 (17:46 +0300)
committerEugen Hristev <eugen.hristev@microchip.com>
Tue, 22 Sep 2020 08:27:18 +0000 (11:27 +0300)
commitb04da9fcf78e233e70ea5ace757c0b8b95bb2459
tree75037cc785cc53d8ac658065d2c5b0462413f0f2
parentba2a0cbb053951ed6d36161989d38da724696b4d
clk: check hw and hw->dev before dereference it

Check hw and hw->dev before dereference it.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/clk/clk.c