diff options
author | 2021-04-15 10:33:22 +1200 | |
---|---|---|
committer | 2021-04-15 22:08:17 +0200 | |
commit | c9598d04e738e289a2d95721b2f8c63ba0d977d2 (patch) | |
tree | 983ecabae644981ee9ce8907feb8f642a3c637d6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i2c: mpc: Update license and copyright (diff) | |
download | linux-dev-c9598d04e738e289a2d95721b2f8c63ba0d977d2.tar.xz linux-dev-c9598d04e738e289a2d95721b2f8c63ba0d977d2.zip |
i2c: mpc: Use devm_clk_get_optional()
The peripheral clock is optional and we may get an -EPROBE_DEFER error code
which would not be propagated correctly, fix this by using
devm_clk_get_optional().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions