diff options
author | Martin Kaiser <martin@kaiser.cx> | 2023-07-13 09:04:45 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-07-22 13:59:37 +1200 |
commit | 97b7aa77d1705ea25d484a77de44bf55d0a772a0 (patch) | |
tree | 3eada713119781dfcb7608985134f0712fff9262 /drivers/char | |
parent | e8c1fdcc62d373da38f673e474564fbed9e249dd (diff) | |
download | linux-97b7aa77d1705ea25d484a77de44bf55d0a772a0.tar.gz linux-97b7aa77d1705ea25d484a77de44bf55d0a772a0.tar.bz2 linux-97b7aa77d1705ea25d484a77de44bf55d0a772a0.zip |
hwrng: ba431 - don't init of_device_id's data
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>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/hw_random/ba431-rng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/ba431-rng.c b/drivers/char/hw_random/ba431-rng.c index b1518dd52a24..d2a9d16323a6 100644 --- 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); |