projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4b513f
)
drivers/staging/wilc1000: Using __func__ instead of hardcoded function name
author
Pushkar Jambhlekar
<
[email protected]
>
Fri, 24 Mar 2017 07:28:45 +0000
(12:58 +0530)
committer
Greg Kroah-Hartman
<
[email protected]
>
Wed, 29 Mar 2017 07:37:14 +0000
(09:37 +0200)
dev_err: replacing hardcoded function name with '%s' and __func__
Signed-off-by: Pushkar Jambhlekar <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/wilc1000/wilc_sdio.c
patch
|
blob
|
history
diff --git
a/drivers/staging/wilc1000/wilc_sdio.c
b/drivers/staging/wilc1000/wilc_sdio.c
index ad4eb0fe371e4ef4795df78d32765912134767ea..ce6c3b4fe70496f44e8dffd76423e1716753f4d7 100644
(file)
--- a/
drivers/staging/wilc1000/wilc_sdio.c
+++ b/
drivers/staging/wilc1000/wilc_sdio.c
@@
-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;
}