[PATCH V2 20/26] thermal: cpu_cooling: find max level during device registration