From: Martin Kaiser Date: Thu, 13 Jul 2023 07:04:45 +0000 (+0200) Subject: hwrng: ba431 - don't init of_device_id's data X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=97b7aa77d1705ea25d484a77de44bf55d0a772a0;p=linux.git 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 Signed-off-by: Herbert Xu --- diff --git a/drivers/char/hw_random/ba431-rng.c b/drivers/char/hw_random/ba431-rng.c index b1518dd52a241..d2a9d16323a66 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);