mbox series

[v2,0/2] NT39016 cleanup

Message ID 20200820121256.32037-1-paul@crapouillou.net (mailing list archive)
Headers show
Series NT39016 cleanup | expand

Message

Paul Cercueil Aug. 20, 2020, 12:12 p.m. UTC
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(-)