[PATCH 19/26] cpu_cooling: find max level during device registration