[PATCH] drm/panel: novatek, nt39016: Remove 'dev' field in priv struct

2020-08-20 Thread Paul Cercueil
There is already a 'struct device' pointer in the drm_panel structure, that we can access easily from our priv structure, so there's no need for a separate 'dev' field there. This also allows drm_panel_of_backlight() to work properly, as it requires the drm_panel.dev field to be initialized.

Re: [PATCH] drm/panel: novatek,nt39016: Remove 'dev' field in priv struct

2020-08-19 Thread Sam Ravnborg
Hi Paul. On Wed, Aug 19, 2020 at 08:14:12PM +0200, Paul Cercueil wrote: > There is already a 'struct device' pointer in the drm_panel structure, > that we can access easily from our priv structure, so there's no need > for a separate 'dev' field there. > > This also allows