summaryrefslogtreecommitdiff
path: root/drivers/char/hw_random/iproc-rng200.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@inria.fr>2020-09-27 22:12:16 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2020-10-02 11:02:15 +0300
commitf9dc446cb959d1efdb971fb3cde18c354a4a04c9 (patch)
tree9abae84e3a20a0b0d34f02c915f74cfacc557c90 /drivers/char/hw_random/iproc-rng200.c
parent436cdcdec02905d1523aec98891d3a1c889dd529 (diff)
downloadlinux-f9dc446cb959d1efdb971fb3cde18c354a4a04c9.tar.xz
hwrng: iproc-rng200 - use semicolons rather than commas to separate statements
Replace commas with semicolons. What is done is essentially described by the following Coccinelle semantic patch (http://coccinelle.lip6.fr/): // <smpl> @@ expression e1,e2; @@ e1 -, +; e2 ... when any // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random/iproc-rng200.c')
-rw-r--r--drivers/char/hw_random/iproc-rng200.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/hw_random/iproc-rng200.c b/drivers/char/hw_random/iproc-rng200.c
index 32d9fe61a225..01583faf9893 100644
--- a/drivers/char/hw_random/iproc-rng200.c
+++ b/drivers/char/hw_random/iproc-rng200.c
@@ -195,10 +195,10 @@ static int iproc_rng200_probe(struct platform_device *pdev)
return PTR_ERR(priv->base);
}
- priv->rng.name = "iproc-rng200",
- priv->rng.read = iproc_rng200_read,
- priv->rng.init = iproc_rng200_init,
- priv->rng.cleanup = iproc_rng200_cleanup,
+ priv->rng.name = "iproc-rng200";
+ priv->rng.read = iproc_rng200_read;
+ priv->rng.init = iproc_rng200_init;
+ priv->rng.cleanup = iproc_rng200_cleanup;
/* Register driver */
ret = devm_hwrng_register(dev, &priv->rng);