summaryrefslogtreecommitdiff
path: root/lib/list-test.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-05-12 21:26:22 +0300
committerLinus Walleij <linus.walleij@linaro.org>2020-05-18 09:15:16 +0200
commit672de5274446fd41167953528da3426805652c1a (patch)
tree2130ec6e3346d3ed97a39c3a32852ce253dc914c /lib/list-test.c
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 <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20200512182623.54990-1-andriy.shevchenko@linux.intel.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib/list-test.c')
0 files changed, 0 insertions, 0 deletions