hwrng: n2 - fix spelling mistake: "restesting" -> "retesting"
authorColin Ian King <colin.king@canonical.com>
Tue, 8 May 2018 22:18:42 +0000 (23:18 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 May 2018 16:13:53 +0000 (00:13 +0800)
Trivial fix to spelling mistake in dev_err error message

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/n2-drv.c

index 92dd4e925315171d024591609918c86252485d44..f8411515fe1cf675358154de9c7b82bbfc494eae 100644 (file)
@@ -435,7 +435,7 @@ static int n2rng_data_read(struct hwrng *rng, u32 *data)
                        *data = np->test_data & 0xffffffff;
                        len = 4;
                } else {
-                       dev_err(&np->op->dev, "RNG error, restesting\n");
+                       dev_err(&np->op->dev, "RNG error, retesting\n");
                        np->flags &= ~N2RNG_FLAG_READY;
                        if (!(np->flags & N2RNG_FLAG_SHUTDOWN))
                                schedule_delayed_work(&np->work, 0);