Skip to content

Commit 436cdcd

Browse files
JuliaLawallherbertx
authored andcommitted
hwrng: stm32 - 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> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent c055e3e commit 436cdcd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

drivers/char/hw_random/stm32-rng.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,12 @@ static int stm32_rng_probe(struct platform_device *ofdev)
145145

146146
dev_set_drvdata(dev, priv);
147147

148-
priv->rng.name = dev_driver_string(dev),
148+
priv->rng.name = dev_driver_string(dev);
149149
#ifndef CONFIG_PM
150-
priv->rng.init = stm32_rng_init,
151-
priv->rng.cleanup = stm32_rng_cleanup,
150+
priv->rng.init = stm32_rng_init;
151+
priv->rng.cleanup = stm32_rng_cleanup;
152152
#endif
153-
priv->rng.read = stm32_rng_read,
153+
priv->rng.read = stm32_rng_read;
154154
priv->rng.priv = (unsigned long) dev;
155155
priv->rng.quality = 900;
156156

0 commit comments

Comments
 (0)