projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90cb3ca
)
hwrng: imx-rngc - use KBUILD_MODNAME as driver name
author
Martin Kaiser
<martin@kaiser.cx>
Sun, 14 Aug 2022 17:03:59 +0000
(19:03 +0200)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 19 Aug 2022 10:39:39 +0000
(18:39 +0800)
Use KBUILD_MODNAME instead of hard coding the driver name.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/imx-rngc.c
patch
|
blob
|
history
diff --git
a/drivers/char/hw_random/imx-rngc.c
b/drivers/char/hw_random/imx-rngc.c
index b05d676ca814c9300bccc67c27d4d84990ab5e6f..78c10fa4c79e55fd603b1fddae45c86c6da1186b 100644
(file)
--- a/
drivers/char/hw_random/imx-rngc.c
+++ b/
drivers/char/hw_random/imx-rngc.c
@@
-355,7
+355,7
@@
MODULE_DEVICE_TABLE(of, imx_rngc_dt_ids);
static struct platform_driver imx_rngc_driver = {
.driver = {
- .name =
"imx_rngc"
,
+ .name =
KBUILD_MODNAME
,
.pm = &imx_rngc_pm_ops,
.of_match_table = imx_rngc_dt_ids,
},