Re: [PATCH v2 2/4] drm/panel: Initialise panel dev and funcs through drm_panel_init()

2019-08-24 Thread Sam Ravnborg
On Fri, Aug 23, 2019 at 10:32:43PM +0300, Laurent Pinchart wrote: > Instead of requiring all drivers to set the dev and funcs fields of > drm_panel manually after calling drm_panel_init(), pass the data as > arguments to the function. This simplifies the panel drivers, and will > help future

[PATCH v2 2/4] drm/panel: Initialise panel dev and funcs through drm_panel_init()

2019-08-23 Thread Laurent Pinchart
Instead of requiring all drivers to set the dev and funcs fields of drm_panel manually after calling drm_panel_init(), pass the data as arguments to the function. This simplifies the panel drivers, and will help future refactoring when adding new arguments to drm_panel_init(). The panel drivers