staging: vchiq_arm: add reference to vchiq device in vchiq_state
authorAdrien Thierry <athierry@redhat.com>
Wed, 18 May 2022 19:11:12 +0000 (15:11 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Jun 2022 06:03:45 +0000 (08:03 +0200)
commitd8d307e681f8bb0ef60ecc8b0e7762ab836cb1fc
tree1b7e4715d1771ea4ecb7dd76eddc5e991d182604
parentd2a4bc3d979fda657729a5ea6b8dc6c6978fabb2
staging: vchiq_arm: add reference to vchiq device in vchiq_state

Add a reference to the vchiq device in the vchiq_state structure. This
allows the device structure to be passed around, which will be useful in
order to get rid of the global g_dev structure. This change will also
make it possible to use standard kernel logging macros instead of the
custom ones.

Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Adrien Thierry <athierry@redhat.com>
Link: https://lore.kernel.org/r/20220518191126.60396-2-athierry@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h