diff options
author | 2022-03-21 09:57:25 +0000 | |
---|---|---|
committer | 2022-04-13 16:26:17 +0200 | |
commit | 75a3a99a5a9886af13be44e640cb415ebda80db2 (patch) | |
tree | c467d114250dd499eeb4f3bc9869d501bb2f30c0 /scripts/gdb/linux/utils.py | |
parent | PM: EM: Use the new .get_cost() callback while registering EM (diff) | |
download | wireguard-linux-75a3a99a5a9886af13be44e640cb415ebda80db2.tar.xz wireguard-linux-75a3a99a5a9886af13be44e640cb415ebda80db2.zip |
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: Ionela Voinescu <ionela.voinescu@arm.com>
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Reviewed-by: Ionela Voinescu <ionela.voinescu@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions