Commit 049b611f authored by Pushkar Jambhlekar's avatar Pushkar Jambhlekar Committed by Greg Kroah-Hartman

drivers/staging/wilc1000: Using __func__ instead of hardcoded function name

dev_err: replacing hardcoded function name with '%s' and __func__
Signed-off-by: default avatarPushkar Jambhlekar <pushkar.iit@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a4b513f0
...@@ -74,7 +74,7 @@ static int wilc_sdio_cmd52(struct wilc *wilc, struct sdio_cmd52 *cmd) ...@@ -74,7 +74,7 @@ static int wilc_sdio_cmd52(struct wilc *wilc, struct sdio_cmd52 *cmd)
sdio_release_host(func); sdio_release_host(func);
if (ret) if (ret)
dev_err(&func->dev, "wilc_sdio_cmd52..failed, err(%d)\n", ret); dev_err(&func->dev, "%s..failed, err(%d)\n", __func__, ret);
return ret; return ret;
} }
...@@ -103,7 +103,7 @@ static int wilc_sdio_cmd53(struct wilc *wilc, struct sdio_cmd53 *cmd) ...@@ -103,7 +103,7 @@ static int wilc_sdio_cmd53(struct wilc *wilc, struct sdio_cmd53 *cmd)
sdio_release_host(func); sdio_release_host(func);
if (ret) if (ret)
dev_err(&func->dev, "wilc_sdio_cmd53..failed, err(%d)\n", ret); dev_err(&func->dev, "%s..failed, err(%d)\n", __func__, ret);
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment