]> asedeno.scripts.mit.edu Git - linux.git/commit
PM / devfreq: refactor set_target frequency function
authorLukasz Luba <l.luba@partner.samsung.com>
Wed, 5 Dec 2018 11:05:52 +0000 (12:05 +0100)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 11 Dec 2018 02:09:44 +0000 (11:09 +0900)
commit633141721b5bfce7017033a767208af591134b8f
tree279033e5d5aa096a66cb70838624edad316251c8
parent40e020c129cfc991e8ab4736d2665351ffd1468d
PM / devfreq: refactor set_target frequency function

The refactoring is needed for the new client in devfreq: suspend.
To avoid code duplication, move it to the new local function
devfreq_set_target.

Suggested-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Suggested-by: Chanwoo Choi <cw00.choi@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Lukasz Luba <l.luba@partner.samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/devfreq/devfreq.c