drivers: thermal: Skip cpu notifier registration for platform devices

Platform CPU cooling device will directly vote to the hardware to
achieve thermal CPU cooling. So there is no need for updating the
cpufreq policy max and min when a new frequency switch happens.

Remove the cpufreq notifier registration from CPU cooling device, when
platform CPU cooling device is available.

Change-Id: I3719d70e8cf1e10349f07409889d8b1bc1bd4456
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
1 file changed