Skip to content
Commit 277c628f authored by Christian Schneider's avatar Christian Schneider Committed by Guenter Roeck
Browse files

hwmon: (gpio-fan) fix sysfs notifications and udev events for gpio-fan alarms



sysfs_notify() and kobject_uevent() are passed the wrong device.
fan_data->hwmon_dev needs to be passed, so that sysfs notification
goes to right place and generated uevent has the right information

Signed-off-by: default avatarChristian Schneider <cschneider@radiodata.biz>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent f2173fa2
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