diff options
author | Francesco Dolcini <francesco.dolcini@toradex.com> | 2024-01-05 02:57:23 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2024-02-14 13:24:30 +0300 |
commit | e517293fd72d9044902efae59f05203203a60736 (patch) | |
tree | fb60060b414481d7e126570c343181af883993b1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e1a00373e1305578cd09526aa056940409e6b877 (diff) | |
download | linux-e517293fd72d9044902efae59f05203203a60736.tar.xz |
can: m_can: remove redundant check for pm_clock_support
m_can_clk_start() already skip starting the clock when
clock support is disabled, remove the redundant check in
m_can_class_register().
This also solves the imbalance with m_can_clk_stop() that is called
afterward in the same function before the return.
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Reviewed-by: Markus Schneider-Pargmann <msp@baylibre.com>
Link: https://lore.kernel.org/all/20240104235723.46931-1-francesco@dolcini.it
[mkl: rebased to net-next/main]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions