]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/vc4: Use of_device_get_match_data to set generation
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Fri, 25 Oct 2024 17:15:32 +0000 (18:15 +0100)
committerDave Stevenson <dave.stevenson@raspberrypi.com>
Wed, 27 Nov 2024 14:37:19 +0000 (14:37 +0000)
commit56aa4c374dbf86d90b7c5aabdc8facbdd3321477
tree0bfed5c47e5d068ea5dae2864be6c7462029bcf0
parent5c3c99868aa2e0b68ac69f8050a6b9c994e73397
drm/vc4: Use of_device_get_match_data to set generation

Use of_device_get_match_data to retrieve the generation value
as set in the struct of_device_id, rather than manually comparing
compatible strings.

Reviewed-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20241025-drm-vc4-2712-support-v2-1-35efa83c8fc0@raspberrypi.com
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/gpu/drm/vc4/vc4_drv.c