diff options
author | Christian Schneider <cschneider@radiodata.biz> | 2019-07-02 15:23:38 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2019-07-09 03:11:32 +0200 |
commit | 277c628fa5acf363b73cdd3793700dc575a988c0 (patch) | |
tree | 5158202c2b760953837ba280abcf92bba6b19493 /drivers/hwmon/ina3221.c | |
parent | hwmon: (gpio-fan) move fan_alarm_init after devm_hwmon_device_register_with_g... (diff) | |
download | linux-277c628fa5acf363b73cdd3793700dc575a988c0.tar.xz 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 'drivers/hwmon/ina3221.c')
0 files changed, 0 insertions, 0 deletions