aboutsummaryrefslogtreecommitdiff
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorDan Carpenter2022-02-05 12:20:15 +0300
committerGuenter Roeck2022-02-27 17:03:18 -0800
commit88846ff7422089f576e29b68153034babbc68ce6 (patch)
treeb60f6974e6ba58c5c92ccb5a1da2c93f27b8d939 /drivers/hwmon
parent2f66cb5bf35265a8c9413a019166a0c29823ce57 (diff)
hwmon: (asus-ec-sensors) fix a typo in asus_ec_probe()
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> Link: https://lore.kernel.org/r/20220205092015.GA612@kili Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/asus-ec-sensors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/asus-ec-sensors.c b/drivers/hwmon/asus-ec-sensors.c
index 05244209c0c6..7330cce46b14 100644
--- a/drivers/hwmon/asus-ec-sensors.c
+++ b/drivers/hwmon/asus-ec-sensors.c
@@ -659,7 +659,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),