msm: thermal: Update thermal sysfs nodes permission

Update the permissions of the sysfs nodes exposed
by the kernel thermal monitor.

Change-Id: Ib211852e8af74d17fd5e40585af2f03aa3ae7920
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
msm: thermal: Disable hotplug monitor only if cpu-sensors < NR_CPUS

Some target variants have different core configuration but share
same dtsi bindings, hence it is not possible to configure differently
for these variants. Instead of checking number of cpus and number of
configured cpu-sensors are equal, check for atleast one cpu-sensor for
each cpu, ie cpu-sensors >= NR_CPUS at probe_cc.

Change-Id: Ie11107f780e24cc1e7879495ce0a1c0c5be412ab
Signed-off-by: Anji Jonnala <anjir@codeaurora.org>
Signed-off-by: Dan Trifan <jimsth@gmail.com>