diff options
| author | Sam Ravnborg <sam@ravnborg.org> | 2019-08-04 23:16:26 +0300 |
|---|---|---|
| committer | Sam Ravnborg <sam@ravnborg.org> | 2019-08-10 16:41:48 +0300 |
| commit | 24bc3e9ce68a41c73b32af8cd077fdf26b31516c (patch) | |
| tree | e4146840c9ba185c4589f173a5aa5f23780ef250 /scripts/gdb/linux/config.py | |
| parent | 90fbc5105653c1c757eb5889b32106cdd754e69f (diff) | |
| download | linux-24bc3e9ce68a41c73b32af8cd077fdf26b31516c.tar.xz | |
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 <sam@ravnborg.org>
Acked-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Cc: Alison Wang <alison.wang@nxp.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190804201637.1240-6-sam@ravnborg.org
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions
