drm/vc4: kms: Store channel in local variable
authorMaxime Ripard <maxime@cerno.tech>
Mon, 28 Mar 2022 15:36:57 +0000 (17:36 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Fri, 8 Apr 2022 11:38:06 +0000 (13:38 +0200)
commitf47d37a91e60990f0ee3006004639487906e3125
tree8c4d0c4a03095e172f8bf29bf178c5af5c4a08b7
parent5453343a88ede8b12812fced81ecd24cb888ccc3
drm/vc4: kms: Store channel in local variable

We use the channel from our vc4_crtc_state structure in multiple places,
let's store it in a local variable to make it cleaner.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://lore.kernel.org/r/20220328153659.2382206-5-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_kms.c