diff options
author | 2019-07-02 15:23:38 +0200 | |
---|---|---|
committer | 2019-07-08 18:11:32 -0700 | |
commit | 277c628fa5acf363b73cdd3793700dc575a988c0 (patch) | |
tree | 5158202c2b760953837ba280abcf92bba6b19493 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | hwmon: (gpio-fan) move fan_alarm_init after devm_hwmon_device_register_with_groups (diff) | |
download | wireguard-linux-277c628fa5acf363b73cdd3793700dc575a988c0.tar.xz wireguard-linux-277c628fa5acf363b73cdd3793700dc575a988c0.zip |
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: Christian Schneider <cschneider@radiodata.biz>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions