diff options
author | 2020-05-12 21:26:22 +0300 | |
---|---|---|
committer | 2020-05-18 09:15:16 +0200 | |
commit | 672de5274446fd41167953528da3426805652c1a (patch) | |
tree | 2130ec6e3346d3ed97a39c3a32852ce253dc914c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpiolib: Document that GPIO line names are not globally unique (diff) | |
download | linux-dev-672de5274446fd41167953528da3426805652c1a.tar.xz linux-dev-672de5274446fd41167953528da3426805652c1a.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions