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

Jiang Jian posted 1 patch 3 years, 10 months ago
drivers/iio/magnetometer/hmc5843_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] iio:magnetometer:hmc5843: Remove duplicate 'the' in two places.
Posted by Jiang Jian 3 years, 10 months ago
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 <jiangjian@cdjrlc.com>
---
 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
Re: [PATCH] iio:magnetometer:hmc5843: Remove duplicate 'the' in two places.
Posted by Uwe Kleine-König 3 years, 10 months ago
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 <jiangjian@cdjrlc.com>

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/ |