]> git.baikalelectronics.ru Git - kernel.git/commit
PM / devfreq: Add devfreq_get_devfreq_by_phandle()
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 10 Nov 2015 11:31:07 +0000 (20:31 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 3 May 2016 02:20:06 +0000 (11:20 +0900)
commitd37d39b4712b097e57bfc94facd3a0c8efd21ad8
treebf4fb4bad488510fab1baf43cbb42df08e0e2b7e
parent33a01580fcd2658a5cdc096fff3942784db13d94
PM / devfreq: Add devfreq_get_devfreq_by_phandle()

This patch adds the new devfreq_get_devfreq_by_phandle() OF helper function
which can find the instance of devfreq device by using phandle ("devfreq").

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
[m.reichl and linux.amoon: Tested it on exynos4412-odroidu3 board]
Tested-by: Markus Reichl <m.reichl@fivetechno.de>
Tested-by: Anand Moon <linux.amoon@gmail.com>
Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
drivers/devfreq/devfreq.c
include/linux/devfreq.h