* [PATCH] macintosh: windfarm: fix spelling mistake "detatch" -> "detach"
@ 2020-08-05 10:43 Colin King
2020-08-05 22:08 ` Wolfram Sang
0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2020-08-05 10:43 UTC (permalink / raw)
To: Benjamin Herrenschmidt, Wolfram Sang, colin.king, linuxppc-dev
Cc: kernel-janitors, linux-kernel
From: Colin Ian King <colin.king@canonical.com>
There are spelling mistakes in DBG messages. Fix them.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] macintosh: windfarm: fix spelling mistake "detatch" -> "detach"
2020-08-05 10:43 [PATCH] macintosh: windfarm: fix spelling mistake "detatch" -> "detach" Colin King
@ 2020-08-05 22:08 ` Wolfram Sang
0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2020-08-05 22:08 UTC (permalink / raw)
To: Colin King; +Cc: kernel-janitors, linuxppc-dev, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 375 bytes --]
On Wed, Aug 05, 2020 at 11:43:37AM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> There are spelling mistakes in DBG messages. Fix them.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
These comments can go entirely. i2c_detach is long history. And for
remove, we have debugging output in the driver core meanwhile.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-05 22:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-05 10:43 [PATCH] macintosh: windfarm: fix spelling mistake "detatch" -> "detach" Colin King
2020-08-05 22:08 ` Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).