[PATCH openEuler-25.03 03/10] PM / devfreq: event: Add devfreq_event_get_edev_by_dev function