2022-07-21 09:15:16

by Slark Xiao

[permalink] [raw]
Subject: [PATCH] iio: magn: hmc5843: Fix typo 'the the' in comment

Replace 'the the' with 'the' in the comment.

Signed-off-by: Slark Xiao <[email protected]>
---
drivers/iio/magnetometer/hmc5843_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/magnetometer/hmc5843_core.c b/drivers/iio/magnetometer/hmc5843_core.c
index 92eb2d156ddb..4a63b2da9df0 100644
--- a/drivers/iio/magnetometer/hmc5843_core.c
+++ b/drivers/iio/magnetometer/hmc5843_core.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
- * Device driver for the the HMC5843 multi-chip module designed
+ * Device driver for the HMC5843 multi-chip module designed
* for low field magnetic sensing.
*
* Copyright (C) 2010 Texas Instruments
--
2.25.1


2022-07-21 10:37:31

by Jonathan Cameron

[permalink] [raw]
Subject: Re: [PATCH] iio: magn: hmc5843: Fix typo 'the the' in comment

On Thu, 21 Jul 2022 16:44:41 +0800
Slark Xiao <[email protected]> wrote:

> Replace 'the the' with 'the' in the comment.
>
> Signed-off-by: Slark Xiao <[email protected]>
Duplicate of
https://lore.kernel.org/all/[email protected]/
> ---
> drivers/iio/magnetometer/hmc5843_core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/magnetometer/hmc5843_core.c b/drivers/iio/magnetometer/hmc5843_core.c
> index 92eb2d156ddb..4a63b2da9df0 100644
> --- a/drivers/iio/magnetometer/hmc5843_core.c
> +++ b/drivers/iio/magnetometer/hmc5843_core.c
> @@ -1,6 +1,6 @@
> // SPDX-License-Identifier: GPL-2.0-or-later
> /*
> - * Device driver for the the HMC5843 multi-chip module designed
> + * Device driver for the HMC5843 multi-chip module designed
> * for low field magnetic sensing.
> *
> * Copyright (C) 2010 Texas Instruments

2022-07-21 14:11:37

by Slark Xiao

[permalink] [raw]
Subject: Re:Re: [PATCH] iio: magn: hmc5843: Fix typo 'the the' in comment

















At 2022-07-21 18:18:12, "Jonathan Cameron" <[email protected]> wrote:
>On Thu, 21 Jul 2022 16:44:41 +0800
>Slark Xiao <[email protected]> wrote:
>
>> Replace 'the the' with 'the' in the comment.
>>
>> Signed-off-by: Slark Xiao <[email protected]>
>Duplicate of
>https://lore.kernel.org/all/[email protected]/
>> ---


Ok, thanks for that. I will update my local files in time to avoid this scenario.
Thanks!


>> drivers/iio/magnetometer/hmc5843_core.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/iio/magnetometer/hmc5843_core.c b/drivers/iio/magnetometer/hmc5843_core.c
>> index 92eb2d156ddb..4a63b2da9df0 100644
>> --- a/drivers/iio/magnetometer/hmc5843_core.c
>> +++ b/drivers/iio/magnetometer/hmc5843_core.c
>> @@ -1,6 +1,6 @@
>> // SPDX-License-Identifier: GPL-2.0-or-later
>> /*
>> - * Device driver for the the HMC5843 multi-chip module designed
>> + * Device driver for the HMC5843 multi-chip module designed
>> * for low field magnetic sensing.
>> *
>> * Copyright (C) 2010 Texas Instruments