drm/vc4: Use of_device_get_match_data()
authorMinghao Chi (CGEL ZTE) <chi.minghao@zte.com.cn>
Mon, 14 Feb 2022 02:05:30 +0000 (02:05 +0000)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 16 Feb 2022 09:51:40 +0000 (10:51 +0100)
commit9cbe89ede58294d23af06ec12c20f2ce6acc1892
tree78c24e194ec61e21c5963a158d4b0bf6adcb09ff
parent6ed19359d6bd62e993b09a7a565d7a5ce5e114c3
drm/vc4: Use of_device_get_match_data()

Use of_device_get_match_data() to simplify the code.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi (CGEL ZTE) <chi.minghao@zte.com.cn>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220214020530.1714631-1-chi.minghao@zte.com.cn
drivers/gpu/drm/vc4/vc4_dsi.c