This series works to drop the remaining (non-essential) global members in vchiq_connected.[ch] and address the following TODO: ``` * Get rid of all non essential global structures and create a proper per device structure ``` The global members tracks the connections to the vchiq platform driver. The logic has been moved to wrap all this within the platform driver data instead so it can be get()ed whenever necessary. The user of vchiq_connected.[ch] is not present currently, but the user will be present when we will upstream bcm2835-isp via the vc-sm-cma driver. Posting a branch for reference [1] to provide and test the idea behind this series. [1]: https://git.uk.ideasonboard.com/uajain/linux/commits/branch/uajain/remove-global Umang Jain (3): staging: vc04_services: Move struct vchiq_drvdata to vchiq_core header staging: v04_services: Add connection structure to driver data staging: vc04_services: Drop global members for tracking connections drivers/staging/vc04_services/interface/TODO | 8 ---- .../interface/vchiq_arm/vchiq_arm.c | 18 +++++--- .../interface/vchiq_arm/vchiq_connected.c | 44 +++++++++---------- .../interface/vchiq_arm/vchiq_connected.h | 16 ++++++- .../interface/vchiq_arm/vchiq_core.h | 9 ++++ 5 files changed, 55 insertions(+), 40 deletions(-) -- 2.43.0