OSDN Git Service

gpu: ipu-v3: Stop overwriting pdev->dev.of_node of child devices
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 16 Feb 2017 13:46:31 +0000 (14:46 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 17 Feb 2017 07:04:27 +0000 (08:04 +0100)
commit0e47b0275bdb40a9dab7a86535b1fcd85d874007
treebacc0602904c79304ff4dcb1cd925d44bbebe93b
parent5f1eb69446f4ec2401560d252c9a95991e80797d
gpu: ipu-v3: Stop overwriting pdev->dev.of_node of child devices

Setting dev->of_node changes the modalias and breaks module autoloading.
Since there is an of_node field in the platform data passed to child
devices, we don't even need this anymore.

Suggested-by: Russell King <linux@armlinux.org.uk>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-common.c