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

From: Colin King
Date: Wed Aug 05 2020 - 13:57:33 EST


From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

There are spelling mistakes in DBG messages. Fix them.

Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
---
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