PM: EM: Change the order of arguments in the .active_power() callback
The .active_power() callback passes the device pointer when it's called. Aligned with a convetion present in other subsystems and pass the 'dev' as a first argument. It looks more cleaner. Adjust all affected drivers which implement that API callback. Suggested-by: NIonela Voinescu <ionela.voinescu@arm.com> Signed-off-by: NLukasz Luba <lukasz.luba@arm.com> Reviewed-by: NIonela Voinescu <ionela.voinescu@arm.com> Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
Showing
想要评论请 注册 或 登录