]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
power: regulator: common: remove unnecessary debug trace
authorJulien Stephan <jstephan@baylibre.com>
Thu, 15 Jan 2026 14:30:43 +0000 (15:30 +0100)
committerPeng Fan <peng.fan@nxp.com>
Thu, 22 Jan 2026 02:01:10 +0000 (10:01 +0800)
Drop the ftrace like debug() that checkpatch --strict complains about:

  WARNING: Unnecessary ftrace-like logging - prefer using ftrace

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Tanmay Kathpalia <tanmay.kathpalia@altera.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/power/regulator/regulator_common.c

index 685d8735fa5c9a6f98cb6154cd13afcabaeab1ac..ce3d80670de045dde7e263c5301bccd744abd2f5 100644 (file)
@@ -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);