]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: rtl8188eu: Replace function name in string with __func__
authorDafna Hirschfeld <dafna3@gmail.com>
Sun, 18 Feb 2018 20:08:34 +0000 (22:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Feb 2018 16:57:43 +0000 (17:57 +0100)
Replace hard coded function name FillH2CCmd_88E with __func__
and break the line to avoid more then 80 characters line.
Issue found using checkpatch.pl

Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c

index 9b7ba9bffb0d4d4530711877898def93c180ada7..1ab2e5586ef09cfa09de3cc63d6256bd7debe7b1 100644 (file)
@@ -67,7 +67,8 @@ static s32 FillH2CCmd_88E(struct adapter *adapt, u8 ElementID, u32 CmdLen, u8 *p
 
 
        if (!adapt->bFWReady) {
-               DBG_88E("FillH2CCmd_88E(): return H2C cmd because fw is not ready\n");
+               DBG_88E("%s(): return H2C cmd because fw is not ready\n",
+                       __func__);
                return ret;
        }