Re: [PATCH] hwmon: (corsair-psu) Fix probe when built-in

From: Guenter Roeck
Date: Fri Dec 08 2023 - 13:38:26 EST


On Thu, Dec 07, 2023 at 10:07:23PM +0100, Armin Wolf wrote:
> 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.
>
> Compile-tested only.
>
> Signed-off-by: Armin Wolf <W_Armin@xxxxxx>

Applied. I dropped the "Compile-tested only" comment and added a note
that the patch was tested but the tested did not provide a Tested-by: tag.

Thanks,
Guenter