thermal: db8500: Use of_match_ptr() macro in db8500_cpufreq_cooling.c
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 19 Dec 2012 08:50:59 +0000 (14:20 +0530)
committerZhang Rui <rui.zhang@intel.com>
Fri, 4 Jan 2013 07:40:03 +0000 (15:40 +0800)
commitc076fc42a4d6c51d6422aaf9f6626bf1adf983e7
tree5f7a69ededd00c935506a8d438126e637bfcafd5
parentc313637641c3e33388903e16cfde97b2e67adb9e
thermal: db8500: Use of_match_ptr() macro in db8500_cpufreq_cooling.c

This eliminates having an #ifdef returning NULL for the case
when OF is disabled.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Reviewed-by: Hongbo Zhang <hongbo.zhang@stericsson.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/db8500_cpufreq_cooling.c