Files
linux/drivers/gpu/drm/fsl-dcu
Sam Ravnborg 24bc3e9ce6 drm/fsl-dcu: fix opencoded use of drm_panel_*
Use drm_panel_get_modes() to access modes.
This has a nice side effect to simplify the code.

drm_panel_get_modes() may return a negative value if
for example panel is NULL. This is a small change
compared to before, but really what we want.

v2:
- Add more info to changelog (Stefan)

Signed-off-by: Sam Ravnborg <[email protected]>
Acked-by: Stefan Agner <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Cc: Alison Wang <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
2019-08-10 15:41:48 +02:00
..