[PATCH v2 1/3] power: regulator: common: remove unnecessary debug trace
Neil Armstrong
neil.armstrong at linaro.org
Tue Jan 13 10:35:45 CET 2026
On 1/8/26 15:42, Julien Stephan wrote:
> Drop the ftrace like debug() that checkpatch --strict complains about:
>
> WARNING: Unnecessary ftrace-like logging - prefer using ftrace
>
> Reviewed-by: Peng Fan <peng.fan at nxp.com>
> Signed-off-by: Julien Stephan <jstephan at baylibre.com>
> ---
> drivers/power/regulator/regulator_common.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/power/regulator/regulator_common.c b/drivers/power/regulator/regulator_common.c
> index 685d8735fa5c9a6f98cb6154cd13afcabaeab1ac..ce3d80670de045dde7e263c5301bccd744abd2f5 100644
> --- a/drivers/power/regulator/regulator_common.c
> +++ b/drivers/power/regulator/regulator_common.c
> @@ -98,7 +98,6 @@ int regulator_common_set_enable(const struct udevice *dev,
>
> if (enable && plat->startup_delay_us)
> udelay(plat->startup_delay_us);
> - debug("%s: done\n", __func__);
>
> if (!enable && plat->off_on_delay_us)
> udelay(plat->off_on_delay_us);
>
Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>
Thanks,
Neil
More information about the U-Boot
mailing list