diff options
author | Christian Schneider <cschneider@radiodata.biz> | 2019-07-02 15:23:37 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2019-07-08 18:11:31 -0700 |
commit | f2173fa2246e906602c6286c7dade68109d68976 (patch) | |
tree | 26c2b089a18e4aeabc10a9c27a5d8644d1831d4f /drivers/media/usb/gspca/gspca.c | |
parent | 7a1d220ccb0cc2b808eb176fb05bf55a38179f3f (diff) |
hwmon: (gpio-fan) move fan_alarm_init after devm_hwmon_device_register_with_groups
This makes it possible to use the hwmon_dev in fan_alarm_notify(). Otherwise
it would be possible, that a interupt arrives and fan_alarm_notify() is
executed, before hwmon_dev is initialized.
Signed-off-by: Christian Schneider <cschneider@radiodata.biz>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/media/usb/gspca/gspca.c')
0 files changed, 0 insertions, 0 deletions