staging: greybus: bootrom: fixed prefer using ftrace warning
authorNandha Kumar Singaram <nandhakumar.singaram@gmail.com>
Sun, 22 Oct 2023 12:22:11 +0000 (05:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Oct 2023 10:56:04 +0000 (12:56 +0200)
Adhere to linux coding style. Reported by checkpatch.pl:
WARNING: Unnecessary ftrace-like logging - prefer using ftrace

Signed-off-by: Nandha Kumar Singaram <nandhakumar.singaram@gmail.com>
Link: https://lore.kernel.org/r/39be7bb04ce1362b00aa31a638ebe2e88dd81fec.1697976302.git.nandhakumar.singaram@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/bootrom.c

index a8efb86de14006105943160f70184e78b2fcbea4..79581457c4afbc151b86df74aef62466689e7ba2 100644 (file)
@@ -491,8 +491,6 @@ static void gb_bootrom_disconnect(struct gb_bundle *bundle)
 {
        struct gb_bootrom *bootrom = greybus_get_drvdata(bundle);
 
-       dev_dbg(&bundle->dev, "%s\n", __func__);
-
        gb_connection_disable(bootrom->connection);
 
        /* Disable timeouts */