On Sun, 2019-08-04 at 22:16 +0200, Sam Ravnborg wrote: > 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 <sam@xxxxxxxxxxxx> > Cc: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> > Cc: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> > Cc: Pengutronix Kernel Team <kernel@xxxxxxxxxxxxxx> > Cc: Fabio Estevam <festevam@xxxxxxxxx> > Cc: NXP Linux Team <linux-imx@xxxxxxx> > Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx Acked-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> regards Philipp