diff options
author | Tony Lindgren <tony@atomide.com> | 2022-08-15 16:12:50 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2022-09-20 10:49:46 +0200 |
commit | 789d4b1070261fa98b06384d2067f23c080dc9f1 (patch) | |
tree | dd7126ea73a32dcae62f5287c6f5a62d113e0cd2 /scripts/gdb/linux/modules.py | |
parent | 664ad59da11687ef9b518fc2519af6a71a1db9f1 (diff) |
clocksource/drivers/timer-ti-dm: Get clock in probe with devm_clk_get()
We can simplify the code a bit by getting the clock in probe, and using
devm_clk_get(). This will also make further changes easier as the clock
is available in probe instead of prepare.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Link: https://lore.kernel.org/r/20220815131250.34603-10-tony@atomide.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions