Message ID | 20200908102447.15097-1-cw00.choi@samsung.com |
---|---|
Headers | show |
Series | PM / devfreq: Deprecate fixed property name by using phandle get | expand |
On Tue, Sep 08, 2020 at 07:24:46PM +0900, Chanwoo Choi wrote: > 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. > > Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> > --- > drivers/devfreq/devfreq.c | 11 +++++++---- > drivers/devfreq/exynos-bus.c | 2 +- > include/linux/devfreq.h | 5 +++-- > 3 files changed, 11 insertions(+), 7 deletions(-) Acked-by: Krzysztof Kozlowski <krzk@kernel.org> Best regards, Krzysztof