Loading
PM / devfreq: event: Add devfreq_event_get_edev_by_dev function
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IBC4SJ -------------------------------- When there is no devicetree association between devfreq device and devfreq-events device, devfreq_event_dev cannot be obtained through the devfreq_event_get_edev_by_phandle function. Therefore, a new interface is added to obtain struct devfreq_event_dev through the specified device. Signed-off-by:Xiangwei Li <liwei728@huawei.com>