On 11-08-21, 10:34, Quentin Perret wrote: > Yep, it's not immediately obvious, but see how it sets the struct > em_data_callback to point at _get_power() where the actual energy > calculation is done. So strictly speaking _get_power() is what uses > these routines, but it goes in hand with dev_pm_opp_of_register_em() so > I guess the same reasoning applies. My bad. -- viresh