mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 16:33:17 +00:00
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]