Commit 88846ff7 authored by Dan Carpenter's avatar Dan Carpenter Committed by Guenter Roeck

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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20220205092015.GA612@kiliSigned-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 2f66cb5b
...@@ -659,7 +659,7 @@ static int __init configure_sensor_setup(struct device *dev) ...@@ -659,7 +659,7 @@ static int __init configure_sensor_setup(struct device *dev)
static int __init asus_ec_probe(struct platform_device *pdev) static int __init asus_ec_probe(struct platform_device *pdev)
{ {
struct asus_ec_sensors *state; struct ec_sensors_data *state;
int status = 0; int status = 0;
state = devm_kzalloc(&pdev->dev, sizeof(struct ec_sensors_data), state = devm_kzalloc(&pdev->dev, sizeof(struct ec_sensors_data),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment