drivers/staging/wilc1000: Using __func__ instead of hardcoded function name
dev_err: replacing hardcoded function name with '%s' and __func__ Signed-off-by: Pushkar Jambhlekar <pushkar.iit@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a4b513f0af
commit
049b611fc8
@ -74,7 +74,7 @@ static int wilc_sdio_cmd52(struct wilc *wilc, struct sdio_cmd52 *cmd)
|
||||
sdio_release_host(func);
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
@ -103,7 +103,7 @@ static int wilc_sdio_cmd53(struct wilc *wilc, struct sdio_cmd53 *cmd)
|
||||
sdio_release_host(func);
|
||||
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user