summaryrefslogtreecommitdiff
path: root/drivers/nvmem/microchip-otpc.c
diff options
context:
space:
mode:
authorShen Lichuan <shenlichuan@vivo.com>2024-10-30 14:03:11 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-11-05 05:33:47 +0100
commitb3d75e9ba013292918fd262e684d3bb012a16bc3 (patch)
treeea000790126e3a6675165e36c8423073480a6ee0 /drivers/nvmem/microchip-otpc.c
parent1530b923a514b158b91453bf5adc9291e77638f5 (diff)
nvmem: Correct some typos in comments
Fixed some confusing typos that were currently identified with codespell, the details are as follows: -in the code comments: drivers/nvmem/brcm_nvram.c:25: underlaying ==> underlying drivers/nvmem/core.c:1250: alredy ==> already drivers/nvmem/core.c:1268: alredy ==> already drivers/nvmem/lpc18xx_otp.c:24: reseverd ==> reserved drivers/nvmem/microchip-otpc.c:159: devide ==> divide Signed-off-by: Shen Lichuan <shenlichuan@vivo.com> Acked-by: Vladimir Zapolskiy <vz@mleia.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20241030140315.40562-4-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvmem/microchip-otpc.c')
-rw-r--r--drivers/nvmem/microchip-otpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvmem/microchip-otpc.c b/drivers/nvmem/microchip-otpc.c
index 7cf81738a3e0..df979e8549fd 100644
--- a/drivers/nvmem/microchip-otpc.c
+++ b/drivers/nvmem/microchip-otpc.c
@@ -156,7 +156,7 @@ static int mchp_otpc_read(void *priv, unsigned int off, void *val,
/*
* We reach this point with off being multiple of stride = 4 to
* be able to cross the subsystem. Inside the driver we use continuous
- * unsigned integer numbers for packet id, thus devide off by 4
+ * unsigned integer numbers for packet id, thus divide off by 4
* before passing it to mchp_otpc_id_to_packet().
*/
packet = mchp_otpc_id_to_packet(otpc, off / 4);