OSDN Git Service

drm/vc4: crtc: Switch to of_device_get_match_data
authorMaxime Ripard <maxime@cerno.tech>
Wed, 27 May 2020 15:47:53 +0000 (17:47 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 10 Jun 2020 09:09:38 +0000 (11:09 +0200)
commit7678142f1d3c9fdc180ad5555878238acc1bc35c
treed2a1a2dfa1c939836bb41ae0cd27cf9964e8acdc
parentdebf585ce543331b9567c1084fb056f66934be87
drm/vc4: crtc: Switch to of_device_get_match_data

of_device_get_match_data allow to simplify a bit the retrieval of the data
associated to the pixelvalve compatible. Let's use it.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/1ff06413a1350d28bc3e88b034ed7ad23834e5bd.1590594512.git-series.maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_crtc.c