Re: [PATCH] platform: x86: Typo fix in the file classmate-laptop.c

From: Randy Dunlap
Date: Wed Mar 17 2021 - 13:26:39 EST


On 3/17/21 1:43 AM, Bhaskar Chowdhury wrote:
>
> s/derefence/dereference/
>
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@xxxxxxxxx>

Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

> ---
> drivers/platform/x86/classmate-laptop.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/platform/x86/classmate-laptop.c b/drivers/platform/x86/classmate-laptop.c
> index 3e03e8d3a07f..9309ab5792cb 100644
> --- a/drivers/platform/x86/classmate-laptop.c
> +++ b/drivers/platform/x86/classmate-laptop.c
> @@ -956,7 +956,7 @@ static int cmpc_ipml_add(struct acpi_device *acpi)
> /*
> * If RFKILL is disabled, rfkill_alloc will return ERR_PTR(-ENODEV).
> * This is OK, however, since all other uses of the device will not
> - * derefence it.
> + * dereference it.
> */
> if (ipml->rf) {
> retval = rfkill_register(ipml->rf);
> --


--
~Randy