Skip to content

Commit

Permalink
hwrng: ba431 - don't init of_device_id's data
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
martin-kaiser authored and herbertx committed Jul 22, 2023
1 parent e8c1fdc commit 97b7aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/hw_random/ba431-rng.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 97b7aa7

Please sign in to comment.