projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8c1fdc
)
hwrng: ba431 - don't init of_device_id's data
author
Martin Kaiser
<martin@kaiser.cx>
Thu, 13 Jul 2023 07:04:45 +0000
(09:04 +0200)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Sat, 22 Jul 2023 01:59:37 +0000
(13:59 +1200)
We have no device-specific data for silex-insight,ba431-rng. There's no
need to set .data = NULL, this is the default.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/ba431-rng.c
patch
|
blob
|
history
diff --git
a/drivers/char/hw_random/ba431-rng.c
b/drivers/char/hw_random/ba431-rng.c
index b1518dd52a2412be556b6a1fa6d68b7cb31f53ac..d2a9d16323a66d0d7a6ca1def449c9a8daf342a6 100644
(file)
--- a/
drivers/char/hw_random/ba431-rng.c
+++ b/
drivers/char/hw_random/ba431-rng.c
@@
-201,7
+201,7
@@
static int ba431_trng_probe(struct platform_device *pdev)
}
static const struct of_device_id ba431_trng_dt_ids[] = {
- { .compatible = "silex-insight,ba431-rng"
, .data = NULL
},
+ { .compatible = "silex-insight,ba431-rng" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, ba431_trng_dt_ids);