lkml.org 
[lkml]   [2023]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 02/30] clk: tegra: Don't warn three times about failure to unregister
From
Date
Quoting Uwe Kleine-König (2023-03-12 09:14:44)
> 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 <u.kleine-koenig@pengutronix.de>
> ---

Applied to clk-next

\
 
 \ /
  Last update: 2023-03-29 04:35    [W:0.654 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site