]> git.baikalelectronics.ru Git - kernel.git/commit
drm/armada: Convert the probe function to the generic drm_of_component_probe()
authorLiviu Dudau <Liviu.Dudau@arm.com>
Tue, 20 Oct 2015 09:23:15 +0000 (10:23 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 20 Oct 2015 10:01:34 +0000 (12:01 +0200)
commit4a751d72a98b6abe84a057241f3a0a2f47066ad9
tree43d5c0e186df0e54cc897b4ea88335650cfdd883
parentfc6c102eb1fc4932bdeb9055bc4defb82e5a7b24
drm/armada: Convert the probe function to the generic drm_of_component_probe()

The armada DRM driver keeps some old platform data compatibility in the
probe function that makes moving to the generic drm_of_component_probe()
a bit more complicated that it should. Refactor the probe function to do
the platform_data processing after the generic probe (and only if that
fails). This way future cleanup can further remove support for it.

Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1445332995-11212-5-git-send-email-Liviu.Dudau@arm.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/armada/armada_drv.c