msm_thermal: scale polling according to temperature, less polling when the device is cool, more polling with its hot. Borrowed idea @motley.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
auto_hotplug: fix the detection of pending works, fix the cancel work calls, change the count condition to 10, and exported it to userspace by the name of sampling_rate. The change from 4 to 10 should help filtering low load spikes when the device is under stress.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>