diff options
author | Sam Ravnborg <[email protected]> | 2019-08-04 22:16:25 +0200 |
---|---|---|
committer | Sam Ravnborg <[email protected]> | 2019-08-10 15:41:47 +0200 |
commit | 90fbc5105653c1c757eb5889b32106cdd754e69f (patch) | |
tree | c488756f00c5dad74c60c31ebd3497241bb49cdf /lib/memory-notifier-error-inject.c | |
parent | 7bb0a60aa57818a9c49c5b4ec64e5f75581c369d (diff) |
drm/imx: fix opencoded use of drm_panel_*
Use the drm_panel_get_modes() function to get the modes.
This patch leave one test for the function pointer:
panel->funcs->get_modes
This is used to check if the panel may have any modes.
There is no direct replacement.
We may be able to just check that drm_panel_get_modes() return > 0,
but as this is not the same functionality it is left for later.
Signed-off-by: Sam Ravnborg <[email protected]>
Acked-by: Philipp Zabel <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Pengutronix Kernel Team <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: NXP Linux Team <[email protected]>
Cc: [email protected]
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions