Armin Wolf 307004e8b2 hwmon: (corsair-psu) Fix probe when built-in
It seems that when the driver is built-in, the HID bus is
initialized after the driver is loaded, which whould cause
module_hid_driver() to fail.
Fix this by registering the driver after the HID bus using
late_initcall() in accordance with other hwmon HID drivers.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20231207210723.222552-1-W_Armin@gmx.de
[groeck: Dropped "compile tested" comment; the patch has been tested
 but the tester did not provide a Tested-by: tag]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2023-12-08 10:36:02 -08:00
..
2023-09-01 09:53:54 -07:00
2023-04-27 11:53:57 -07:00
2023-10-28 09:21:59 -07:00
2023-10-29 22:22:20 -07:00
2022-02-27 17:03:19 -08:00
2019-11-06 14:37:19 -08:00
2023-10-29 22:22:20 -07:00
2023-10-31 17:44:17 -10:00