All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hwmon: (asus-ec-sensors) fix a typo in asus_ec_probe()
@ 2022-02-05  9:20 Dan Carpenter
  2022-02-05  9:59 ` Eugene Shalygin
  2022-02-05 17:52 ` Guenter Roeck
  0 siblings, 2 replies; 5+ messages in thread
From: Dan Carpenter @ 2022-02-05  9:20 UTC (permalink / raw)
  To: Eugene Shalygin; +Cc: Jean Delvare, Guenter Roeck, linux-hwmon, kernel-janitors

There is no such struct as "asus_ec_sensors", it was supposed to be
"ec_sensors_data".  This typo does not affect either build or runtime.

Fixes: c4b1687d6897 ("hwmon: (asus-ec-sensors) add driver for ASUS EC")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
---
 drivers/hwmon/asus-ec-sensors.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hwmon/asus-ec-sensors.c b/drivers/hwmon/asus-ec-sensors.c
index 7285334c7d80..cb266ba30c97 100644
--- a/drivers/hwmon/asus-ec-sensors.c
+++ b/drivers/hwmon/asus-ec-sensors.c
@@ -653,7 +653,7 @@ static int __init configure_sensor_setup(struct device *dev)
 
 static int __init asus_ec_probe(struct platform_device *pdev)
 {
-	struct asus_ec_sensors *state;
+	struct ec_sensors_data *state;
 	int status = 0;
 
 	state = devm_kzalloc(&pdev->dev, sizeof(struct ec_sensors_data),
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-02-07  7:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-05  9:20 [PATCH] hwmon: (asus-ec-sensors) fix a typo in asus_ec_probe() Dan Carpenter
2022-02-05  9:59 ` Eugene Shalygin
2022-02-05 17:55   ` Guenter Roeck
2022-02-07  7:10   ` Dan Carpenter
2022-02-05 17:52 ` Guenter Roeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.