diff options
| author | Adrien Thierry <[email protected]> | 2022-05-18 15:11:13 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-06-06 08:03:45 +0200 |
| commit | 813fa44c74225203d82a8f608ef524b2bd71c3df (patch) | |
| tree | 8acf1ce14c0aeab4eb867b301b5c7e694584a941 /tools/perf/scripts/python/bin | |
| parent | d8d307e681f8bb0ef60ecc8b0e7762ab836cb1fc (diff) | |
staging: vchiq_arm: get rid of global device structure
Get rid of the global g_dev structure.
This is part of an effort to address TODO item "Get rid of all non
essential global structures and create a proper per device structure"
I chose to pass the vchiq_instance around instead of the device
reference because in order to get rid of the 'vchiq_states' global array
in the future, we will need another way to access the vchiq_state in the
'handle_to_service' function. Therefore, we will need to pass the
vchiq_instance to it (or the vchiq_state), and also pass it to functions
higher up in the caller chain, such as 'vchiq_bulk_transmit' and friends
which are used in the bcm2835-audio consumer.
Tested-by: Stefan Wahren <[email protected]>
Signed-off-by: Adrien Thierry <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions