[PATCH][V2] macintosh: windfarm: remove detatch debug containing spelling mistakes

Subsystems: linux for power macintosh, the rest

STALE2152d LANDED

Landed in mainline as 7db0a07273e8 on 2020-09-02.

3 messages, 3 authors, 2020-09-09 · open the first message on its own page

[PATCH][V2] macintosh: windfarm: remove detatch debug containing spelling mistakes

From: Colin King <hidden>
Date: 2020-08-06 17:52:19

From: Colin Ian King <redacted>

There are spelling mistakes in two debug messages. As recommended
by Wolfram Sang, these can be removed as there is plenty of debug
in the driver core.

Signed-off-by: Colin Ian King <redacted>
---

V2: remove the debug rather than fixing the spelling

---
 drivers/macintosh/windfarm_lm75_sensor.c | 2 --
 drivers/macintosh/windfarm_lm87_sensor.c | 2 --
 2 files changed, 4 deletions(-)
diff --git a/drivers/macintosh/windfarm_lm75_sensor.c b/drivers/macintosh/windfarm_lm75_sensor.c
index 1e5fa09845e7..29f48c2028b6 100644
--- a/drivers/macintosh/windfarm_lm75_sensor.c
+++ b/drivers/macintosh/windfarm_lm75_sensor.c
@@ -152,8 +152,6 @@ 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);
-
 	/* Mark client detached */
 	lm->i2c = NULL;
 
diff --git a/drivers/macintosh/windfarm_lm87_sensor.c b/drivers/macintosh/windfarm_lm87_sensor.c
index d011899c0a8a..9fab0b47cd3d 100644
--- a/drivers/macintosh/windfarm_lm87_sensor.c
+++ b/drivers/macintosh/windfarm_lm87_sensor.c
@@ -149,8 +149,6 @@ 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);
-
 	/* Mark client detached */
 	lm->i2c = NULL;
 
-- 
2.27.0

Re: [PATCH][V2] macintosh: windfarm: remove detatch debug containing spelling mistakes

From: Wolfram Sang <hidden>
Date: 2020-08-06 17:25:44

On Thu, Aug 06, 2020 at 11:29:01AM +0100, Colin King wrote:
From: Colin Ian King <redacted>

There are spelling mistakes in two debug messages. As recommended
by Wolfram Sang, these can be removed as there is plenty of debug
in the driver core.

Signed-off-by: Colin Ian King <redacted>
Reviewed-by: Wolfram Sang <wsa@kernel.org>

Re: [PATCH][V2] macintosh: windfarm: remove detatch debug containing spelling mistakes

From: Michael Ellerman <hidden>
Date: 2020-09-09 16:34:07

On Thu, 6 Aug 2020 11:29:01 +0100, Colin King wrote:
There are spelling mistakes in two debug messages. As recommended
by Wolfram Sang, these can be removed as there is plenty of debug
in the driver core.
Applied to powerpc/next.

[1/1] macintosh: windfarm: remove detatch debug containing spelling mistakes
      https://git.kernel.org/powerpc/c/7db0a07273e8f581d0b3e8a102d3d9dd99f43528

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help