]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5b931faef75e055097d81f05b7f1e34411dd7a4e
tree8c4d0c4a03095e172f8bf29bf178c5af5c4a08b7
parent6398eda9fb53a40177daf072ca71e01bf6702594
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