2022-06-21 17:16:11

by Jiang Jian

[permalink] [raw]
Subject: [PATCH] iio:magnetometer:hmc5843: Remove duplicate 'the' in two places.

file: drivers/iio/magnetometer/hmc5843_core.c
line: 3
* Device driver for the the HMC5843 multi-chip module designed
changed to
* Device driver for the HMC5843 multi-chip module designed

Signed-off-by: Jiang Jian <[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.17.1


2022-06-21 22:15:50

by Uwe Kleine-König

[permalink] [raw]
Subject: Re: [PATCH] iio:magnetometer:hmc5843: Remove duplicate 'the' in two places.

On Wed, Jun 22, 2022 at 12:40:56AM +0800, Jiang Jian wrote:
> file: drivers/iio/magnetometer/hmc5843_core.c
> line: 3
> * Device driver for the the HMC5843 multi-chip module designed
> changed to
> * Device driver for the HMC5843 multi-chip module designed
>
> Signed-off-by: Jiang Jian <[email protected]>

The patch looks good, the commit log however is bad and wrong. There
are no "two places". I'd just write:

iio:magnetometer:hmc5843: Remove duplicate 'the'

Fix an obvious typing error, found by spellcheck(1).

Signed-off-....

Best regards
Uwe

--
Pengutronix e.K. | Uwe Kleine-K?nig |
Industrial Linux Solutions | https://www.pengutronix.de/ |


Attachments:
(No filename) (743.00 B)
signature.asc (499.00 B)
Download all attachments