diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2023-02-27 11:41:50 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-09 17:21:54 +0100 |
commit | 7eada8a122a2683ec63ad43982a4552b054d59ca (patch) | |
tree | 1cfcddee548c9cf26966b626e858deeb6dc9cd9a /tools/perf/scripts/python/syscall-counts.py | |
parent | 54769d865683e96eeca32e325f586978c11fbbb7 (diff) |
serial: 8250_em: Use devm_clk_get_enabled()
Simplify clk handling in probe() by replacing devm_clk_get()->devm_
clk_get_enabled(). This replaces the usage of clk_prepare_enable/clk_
disable_unprepare() in probe()/remove(). After that sclk is no
longer required in struct serial8250_em_priv and is replaced by a
local variable sclk in probe().
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20230227114152.22265-6-biju.das.jz@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions