diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-04-15 10:33:22 +1200 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2021-04-15 22:08:17 +0200 |
commit | c9598d04e738e289a2d95721b2f8c63ba0d977d2 (patch) | |
tree | 983ecabae644981ee9ce8907feb8f642a3c637d6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 97b4dff130f5451bcfb7e677f16366c205b51d0f (diff) |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions