Skip to content

Commit

Permalink
spi: fix typo in comment
Browse files Browse the repository at this point in the history
Spelling mistake (triple letters) in comment.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Link: https://lore.kernel.org/r/20220521111145.81697-13-Julia.Lawall@inria.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Julia Lawall authored and Mark Brown committed Jun 6, 2022
1 parent 901fc8e commit 657f8bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/spi/spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,7 @@ spi_max_transfer_size(struct spi_device *spi)
if (ctlr->max_transfer_size)
tr_max = ctlr->max_transfer_size(spi);

/* transfer size limit must not be greater than messsage size limit */
/* transfer size limit must not be greater than message size limit */
return min(tr_max, msg_max);
}

Expand Down

0 comments on commit 657f8bd

Please sign in to comment.