diff options
author | Uwe Kleine-König <[email protected]> | 2023-03-12 17:14:44 +0100 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2023-03-28 19:23:35 -0700 |
commit | c73e435e9b754d43aa8925152caedd54758e55be (patch) | |
tree | dfb3a466e1e71a4af19ef60ca908aeb8fcdcaaab /scripts/gdb/linux/modules.py | |
parent | fe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff) |
clk: tegra: Don't warn three times about failure to unregister
tegra124_dfll_fcpu_remove() calls tegra_dfll_unregister() and the former
emits an error message if the latter fails. In that case
tegra_dfll_unregister() already printed an error message. Additionally
tegra124_dfll_fcpu_remove() returns an error code which results in yet
another warning emitted by platform_remove().
So drop the error message from tegra124_dfll_fcpu_remove() and let it
return 0. (Retuning 0 has no side effect but suppressing the error
message in platform_remove().)
Also add two comments about exiting early being wrong. This is something
that needs fixing separately.
Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions