drm/panel: ili9322: move bus_flags to get_modes()
authorSam Ravnborg <sam@ravnborg.org>
Sun, 4 Aug 2019 20:16:31 +0000 (22:16 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Sat, 10 Aug 2019 13:41:48 +0000 (15:41 +0200)
commit9d027b8e5a5754571a6b803f3635442fbc2abcdc
treefe8b95a30cbc4971f6ab0f66343c01d5c4a8198a
parentce7d93aa2a080d94cca16948b9e3bef54f7ba031
drm/panel: ili9322: move bus_flags to get_modes()

To prepare the driver to receive drm_connector only in the get_modes()
callback, move bus_flags handling to ili9322_get_modes().

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190804201637.1240-11-sam@ravnborg.org
drivers/gpu/drm/panel/panel-ilitek-ili9322.c