diff options
author | Srinivas Neeli <[email protected]> | 2021-03-29 21:49:38 +0530 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2021-06-21 08:49:07 +0200 |
commit | f185de2231ce3214bb242f56b5d73641d5269508 (patch) | |
tree | 5e2b9033e1026e06a5f7cec2bda5d81038d50f7a /scripts/gdb/linux/proc.py | |
parent | a40b2c3dc360d2c8c8614864f523dd0923b5f876 (diff) |
watchdog: of_xilinx_wdt: Remove passing null pointer
clk is an optional property, if clock not defined,
calling clk_prepare_enable() and devm_add_action_or_reset()
are not useful.
so calling these two apis only when clock is present.
Addresses-Coverity:"FORWARD_NULL"
Signed-off-by: Srinivas Neeli <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions