[PATCH v2 0/2] NT39016 cleanup

From: Paul Cercueil
Date: Thu Aug 20 2020 - 08:13:16 EST


A few cleanups to the Novatek NT39016 panel driver:

- Reorder function calls in probe, so that drm_panel_of_backlight() is
called after drm_panel_init(), as requested by the function's
documentation;
- Use the 'dev' field inside the drm_panel structure, instead of using a
separate field in the driver's private structure.

Cheers,
-Paul

Paul Cercueil (2):
drm/panel: novatek,nt39016: Reorder calls in probe
drm/panel: novatek,nt39016: Remove 'dev' field in priv struct

drivers/gpu/drm/panel/panel-novatek-nt39016.c | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)

--
2.28.0