OSDN Git Service

drm/panel: novatek,nt39016: Remove 'dev' field in priv struct
authorPaul Cercueil <paul@crapouillou.net>
Thu, 20 Aug 2020 12:12:56 +0000 (14:12 +0200)
committerPaul Cercueil <paul@crapouillou.net>
Thu, 20 Aug 2020 16:34:42 +0000 (18:34 +0200)
commitd738005da9c59e57e5700ccf6f505c9569c93da1
tree84463fdc2b4b2c66bd348844f780aa7beea42e27
parent2f4b769e4d18c1a38dc892668971fc2f0c4e6f5b
drm/panel: novatek,nt39016: Remove 'dev' field in priv struct

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.

Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20200820121256.32037-3-paul@crapouillou.net
drivers/gpu/drm/panel/panel-novatek-nt39016.c