[PATCH 1/4] thermal: omap: fix get mode function