Re: [PATCH] staging: nvec: Fix documentation typo in static irqreturn_t nvec_interrupt()

Alison Schofield
2024-03-23T04:10:12Z

On Sun, Mar 17, 2024 at 12:09:47PM +0000, Dorine Tipo wrote:
> Correct the spelling of initialisation with was misspelled in the
> documentation

Thanks for the patch Dorine,

Please tidy up both commit msg (so it doesn't line wrap) and the
commit log. (s/with/which and add a 'hard stop' ie. a period at
the end of your sentence.) If the issue was found using a tool,
say that. "Issue found using checkpatch."

There's a section in the First Patch Tutorial about following the
style of the subsystem or file. Please check it out.

--Alison

>
> Signed-off-by: Dorine Tipo <dorine.a.tipo@gmail.com>
> ---
> drivers/staging/nvec/nvec.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c
> index 282a664c9176..b4485b10beb8 100644
> --- a/drivers/staging/nvec/nvec.c
> +++ b/drivers/staging/nvec/nvec.c
> @@ -712,7 +712,7 @@ static irqreturn_t nvec_interrupt(int irq, void *dev)
> * TODO: replace the udelay with a read back after each writel above
> * in order to work around a hardware issue, see i2c-tegra.c
> *
> - * Unfortunately, this change causes an intialisation issue with the
> + * Unfortunately, this change causes an initialisation issue with the
> * touchpad, which needs to be fixed first.
> */
> udelay(100);
> --
> 2.25.1
>
>