From: Javi Merino Date: Fri, 14 Aug 2015 17:57:00 +0000 (+0100) Subject: PM / devfreq: drop comment about thermal setting max_freq X-Git-Tag: v4.3-rc2~3^2~1^3^2~3 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d3b7e1745c0d1be2add1bb58065eef142c5a098f;p=karo-tx-linux.git PM / devfreq: drop comment about thermal setting max_freq The thermal infrastructure should use the devfreq cooling device, which uses the OPP library to disable OPPs as necessary. Fix a couple of typos in the same comment while we are at it. Signed-off-by: Javi Merino Signed-off-by: MyungJoo Ham --- diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c index f28a1fae5691..1f3e5ea5439f 100644 --- a/drivers/devfreq/devfreq.c +++ b/drivers/devfreq/devfreq.c @@ -177,10 +177,10 @@ int update_devfreq(struct devfreq *devfreq) return err; /* - * Adjust the freuqency with user freq and QoS. + * Adjust the frequency with user freq and QoS. * - * List from the highest proiority - * max_freq (probably called by thermal when it's too hot) + * List from the highest priority + * max_freq * min_freq */