]> Gentwo Git Trees - linux/.git/commitdiff
drm/bridge: it66121: Drop ftrace like dev_dbg() prints
authorNishanth Menon <nm@ti.com>
Wed, 29 Oct 2025 15:06:33 +0000 (10:06 -0500)
committerNeil Armstrong <neil.armstrong@linaro.org>
Fri, 21 Nov 2025 14:48:46 +0000 (15:48 +0100)
Drop the ftrace like dev_dbg() that checkpatch --strict complains about:

WARNING: Unnecessary ftrace-like logging - prefer using ftrace
+ dev_dbg(dev, "%s\n", __func__);

WARNING: Unnecessary ftrace-like logging - prefer using ftrace
+ dev_dbg(dev, "%s\n", __func__);

WARNING: Unnecessary ftrace-like logging - prefer using ftrace
+ dev_dbg(dev, "%s\n", __func__);

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Andrew Davis <afd@ti.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20251029150636.3118628-3-nm@ti.com
drivers/gpu/drm/bridge/ite-it66121.c

index aa7b1dcc5d70e5d15199e071e4cd96e08b4bda1b..9b8ed2fae2f4ed3d5d06c9617bcaf45104a6f507 100644 (file)
@@ -1384,8 +1384,6 @@ static int it66121_audio_startup(struct device *dev, void *data)
        int ret;
        struct it66121_ctx *ctx = dev_get_drvdata(dev);
 
-       dev_dbg(dev, "%s\n", __func__);
-
        mutex_lock(&ctx->lock);
        ret = it661221_audio_output_enable(ctx, true);
        if (ret)
@@ -1401,8 +1399,6 @@ static void it66121_audio_shutdown(struct device *dev, void *data)
        int ret;
        struct it66121_ctx *ctx = dev_get_drvdata(dev);
 
-       dev_dbg(dev, "%s\n", __func__);
-
        mutex_lock(&ctx->lock);
        ret = it661221_audio_output_enable(ctx, false);
        if (ret)
@@ -1479,8 +1475,6 @@ static int it66121_audio_codec_init(struct it66121_ctx *ctx, struct device *dev)
                .no_capture_mute = 1,
        };
 
-       dev_dbg(dev, "%s\n", __func__);
-
        if (!of_property_present(dev->of_node, "#sound-dai-cells")) {
                dev_info(dev, "No \"#sound-dai-cells\", no audio\n");
                return 0;