PM / devfreq: Change prototype of devfreq_get_devfreq_by_phandle function
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 8 Sep 2020 10:24:46 +0000 (19:24 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 29 Sep 2020 08:50:10 +0000 (17:50 +0900)
commit86d90fd95bbc3b3fdc2ef0507b7324cd1d0a358b
tree0ec61ad66ea90eb0c40808da03f277e03277536f
parent7b38b7b0427df70237e3c9c73f2db6b99be2b4b9
PM / devfreq: Change prototype of devfreq_get_devfreq_by_phandle function

Previously, devfreq core support 'devfreq' property in order to get
the devfreq device by phandle. But, 'devfreq' property name is not proper
on devicetree binding because this name doesn't mean the any h/w attribute.

The devfreq core hand over the right to decide the property name
for getting the devfreq device on devicetree. Each devfreq driver
will decide the property name on devicetree binding and pass
the their own property name to devfreq_get_devfreq_by_phandle function.

Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/devfreq.c
drivers/devfreq/exynos-bus.c
include/linux/devfreq.h