cpufreq:interactive: updates from franco

Credits: Francisco Franco <franciscofranco.1990@gmail.com>

Signed-off-by: Dan Trifan <jimsth@gmail.com>
msm: mdss: Fix possible buffer overflow in ppp

Correct the limit check for the buffer format and avoid the
possible buffer overflow.

CRs-Fixed: 542730
Signed-off-by: Shivaraj Shetty <shivaraj@codeaurora.org>
Change-Id: I78f86cf8e7dcd0b3f4e124fbbf70353796583a47
Signed-off-by: Dan Trifan <jimsth@gmail.com>