[PATCH openEuler-5.10 28/56] thermal/core: Fix thermal_cooling_device_register() prototype