drm: sti: remove useless fields from vtg structure
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>
Wed, 8 Nov 2017 13:50:14 +0000 (14:50 +0100)
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>
Wed, 8 Nov 2017 13:50:14 +0000 (14:50 +0100)
commitcc6b741c6f637484316188ae7f3be211b2f2b33a
treee83e87501b95f62367153ee3a9e9cbd27705cd44
parent846c7dfc1193eb2f9866fe2fa0ae7d45c72f95b9
drm: sti: remove useless fields from vtg structure

Drivers are registered on platform bus so the private list
could be replace by a call to of_find_device_by_node().
Changing this also makes dev, np and link fields useless
in vtg structure.

Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1510146255-24982-1-git-send-email-benjamin.gaignard@linaro.org
drivers/gpu/drm/sti/Kconfig
drivers/gpu/drm/sti/sti_vtg.c