drm/imx: Remove of_node assignment from ipuv3-crtc driver probe
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 9 Nov 2015 15:35:12 +0000 (16:35 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 24 Nov 2015 10:30:18 +0000 (11:30 +0100)
commit407c9eba789767feb68b42eb2d65db68584e06c0
tree50459a9787fb656bef11289594d2b0ddeac6fa34
parent304e6be652e2ef2190adf9c23a2a1e5f9f39800d
drm/imx: Remove of_node assignment from ipuv3-crtc driver probe

The crtc child device driver shouldn't modify the of_node of its platform
device in the probe function. Instead, since the previous patch, the IPU
core driver sets the of_node when the platform device is created.

Drop the now unused custom imx_drm_get_port_by_id function.

Suggested-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/gpu/drm/imx/ipuv3-crtc.c