[PATCH] macintosh: windfarm: fix spelling mistake "detatch" -> "detach"

Subsystems: linux for power macintosh, the rest

STALE2186d

2 messages, 2 authors, 2020-08-05 · open the first message on its own page

[PATCH] macintosh: windfarm: fix spelling mistake "detatch" -> "detach"

From: Colin King <hidden>
Date: 2020-08-05 17:57:34

From: Colin Ian King <redacted>

There are spelling mistakes in DBG messages. Fix them.

Signed-off-by: Colin Ian King <redacted>
---
 drivers/macintosh/windfarm_lm75_sensor.c | 2 +-
 drivers/macintosh/windfarm_lm87_sensor.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/macintosh/windfarm_lm75_sensor.c b/drivers/macintosh/windfarm_lm75_sensor.c
index 1e5fa09845e7..a88f73af4d5e 100644
--- a/drivers/macintosh/windfarm_lm75_sensor.c
+++ b/drivers/macintosh/windfarm_lm75_sensor.c
@@ -152,7 +152,7 @@ static int wf_lm75_remove(struct i2c_client *client)
 {
 	struct wf_lm75_sensor *lm = i2c_get_clientdata(client);
 
-	DBG("wf_lm75: i2c detatch called for %s\n", lm->sens.name);
+	DBG("wf_lm75: i2c detach called for %s\n", lm->sens.name);
 
 	/* Mark client detached */
 	lm->i2c = NULL;
diff --git a/drivers/macintosh/windfarm_lm87_sensor.c b/drivers/macintosh/windfarm_lm87_sensor.c
index d011899c0a8a..de8ef76a0ac8 100644
--- a/drivers/macintosh/windfarm_lm87_sensor.c
+++ b/drivers/macintosh/windfarm_lm87_sensor.c
@@ -149,7 +149,7 @@ static int wf_lm87_remove(struct i2c_client *client)
 {
 	struct wf_lm87_sensor *lm = i2c_get_clientdata(client);
 
-	DBG("wf_lm87: i2c detatch called for %s\n", lm->sens.name);
+	DBG("wf_lm87: i2c detach called for %s\n", lm->sens.name);
 
 	/* Mark client detached */
 	lm->i2c = NULL;
-- 
2.27.0

Re: [PATCH] macintosh: windfarm: fix spelling mistake "detatch" -> "detach"

From: Wolfram Sang <wsa@kernel.org>
Date: 2020-08-05 22:08:49

On Wed, Aug 05, 2020 at 11:43:37AM +0100, Colin King wrote:
From: Colin Ian King <redacted>

There are spelling mistakes in DBG messages. Fix them.

Signed-off-by: Colin Ian King <redacted>
These comments can go entirely. i2c_detach is long history. And for
remove, we have debugging output in the driver core meanwhile.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help