diff options
| author | Zhang Zekun <zhangzekun11@huawei.com> | 2024-09-04 20:22:26 +0800 |
|---|---|---|
| committer | Andi Shyti <andi.shyti@kernel.org> | 2024-09-10 00:36:45 +0200 |
| commit | 016b221209f43be864c880c521a3c0e1d9ef1c16 (patch) | |
| tree | 42c782e5a97efee23bc19624f018a7e93f530546 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | dt-bindings: i2c: i2c-rk3x: Add rk3576 compatible (diff) | |
| download | linux-016b221209f43be864c880c521a3c0e1d9ef1c16.tar.gz linux-016b221209f43be864c880c521a3c0e1d9ef1c16.zip | |
i2c: mpc: Use devm_clk_get_optional_enabled() to simplify code
devm_clk_get_optional() and clk_prepare_enable() can be replaced by the
helper function devm_clk_get_optional_enabled(). Let's simplify the code by
using devm_clk_get_optional_enabled() and avoid calling
clk_disable_unprepare().
Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com>
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
