drm/vc4: Constify container_of wrappers
authorMaxime Ripard <maxime@cerno.tech>
Wed, 23 Nov 2022 15:25:53 +0000 (16:25 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 28 Nov 2022 10:47:04 +0000 (11:47 +0100)
commit553a241b80f22a20cd1a93f5e13d93bbde3fc7bc
tree5581368996f5b459cfa97a9a3eb1ed9236c65c95
parent2081bd8994362785b07b435bdc0c5b53d46b1205
drm/vc4: Constify container_of wrappers

None of our wrappers around container_of to access our objects from the
DRM object pointer actually modify the latter.

Let's make them const.

Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20221123-rpi-kunit-tests-v1-11-051a0bb60a16@cerno.tech
drivers/gpu/drm/vc4/vc4_drv.h