aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/vmlinux-gdb.py
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2020-05-12 21:26:22 +0300
committerLinus Walleij <[email protected]>2020-05-18 09:15:16 +0200
commit672de5274446fd41167953528da3426805652c1a (patch)
tree2130ec6e3346d3ed97a39c3a32852ce253dc914c /scripts/gdb/vmlinux-gdb.py
parent582838ea5bea41258d136c82a6c493a95cda652c (diff)
gpio: mb86s7x: Use devm_clk_get_optional() to get the input clock
Simplify the code which fetches the input clock by using devm_clk_get_optional(). If no input clock is present devm_clk_get_optional() will return NULL instead of an error which matches the behavior of the old code. Signed-off-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions