PM: devfreq: update code from Nexus 5

idea is taken here - https://github.com/faux123/Nexus_5/commits/kk_mr2/drivers/devfreq