summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random
diff options
context:
space:
mode:
authorJason Wang <wangborong@cdjrlc.com>2022-07-15 13:40:50 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2022-07-22 16:22:04 +0800
commit85796a9b7583a0b00ee9e69b932daafb41515a76 (patch)
tree4090b1f770591d130022e6e00c2d0f2acf1911cf /drivers/char/hw_random
parent824b94a88320eaa5e3e059b494e457ed25987a63 (diff)
downloadlinux-85796a9b7583a0b00ee9e69b932daafb41515a76.tar.bz2
hwrng: via - Fix comment typo
The double `close' is duplicated in line 148, remove one. Signed-off-by: Jason Wang <wangborong@cdjrlc.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random')
-rw-r--r--drivers/char/hw_random/via-rng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/via-rng.c b/drivers/char/hw_random/via-rng.c
index 7444cc146e86..a9a0a3b09c8b 100644
--- a/drivers/char/hw_random/via-rng.c
+++ b/drivers/char/hw_random/via-rng.c
@@ -145,7 +145,7 @@ static int via_rng_init(struct hwrng *rng)
}
/* Control the RNG via MSR. Tread lightly and pay very close
- * close attention to values written, as the reserved fields
+ * attention to values written, as the reserved fields
* are documented to be "undefined and unpredictable"; but it
* does not say to write them as zero, so I make a guess that
* we restore the values we find in the register.