Re: [PATCH 1/3] hwmon: (cros_ec) Register the thermal devices after the hwmon ones

From: Guenter Roeck

Date: Sun Jul 19 2026 - 10:34:57 EST


On Sat, Jul 11, 2026 at 11:59:05AM +0200, Thomas Weißschuh wrote:
> To guarantee consistency for the read-modify-write access in
> cros_ec_hwmon_cooling_set_cur_state(), locking is necessary.
> The locking will use standard hwmon device locks, which requires
> the hwmon device to be ready before the fan devices are set up.
>
> Reorder the initialization so this works.
>
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>

Applied.

Thanks,
Guenter