drm/vc4: Use the helper to retrieve vc4_dev when needed
authorMaxime Ripard <maxime@cerno.tech>
Thu, 29 Oct 2020 19:01:02 +0000 (20:01 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 2 Nov 2020 11:14:46 +0000 (12:14 +0100)
commit88e085896aa67ac250943b117a9016801011c624
tree86233fbbeca8f68bc89a2894f9d276ee5ce46925
parent171a072b4699b4bf79cd1bbbcd05a53d40903034
drm/vc4: Use the helper to retrieve vc4_dev when needed

We have a helper to retrieve the vc4_dev structure from the drm_device one
when needed, so let's use it consistently.

Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20201029190104.2181730-4-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hvs.c
drivers/gpu/drm/vc4/vc4_kms.c