imx-drm: imx-hdmi: Fix DDC I2C bus property
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 5 Mar 2014 09:20:56 +0000 (10:20 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 7 Mar 2014 16:17:53 +0000 (16:17 +0000)
This patch fixes the DDC I2C bus property to use the common 'ddc-i2c-bus'
property name instead of 'ddc'. This is already documented in
Documentation/devicetree/bindings/staging/imx-drm/hdmi.txt

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

index 070f0161a12a82c2f196d62e9c668c0212eb615d..5ef998de0accd0fee3b7a439d4cf5db1b09a65e1 100644 (file)
@@ -1605,7 +1605,7 @@ static int imx_hdmi_bind(struct device *dev, struct device *master, void *data)
                hdmi->dev_type = device_id->driver_data;
        }
 
-       ddc_node = of_parse_phandle(np, "ddc", 0);
+       ddc_node = of_parse_phandle(np, "ddc-i2c-bus", 0);
        if (ddc_node) {
                hdmi->ddc = of_find_i2c_adapter_by_node(ddc_node);
                if (!hdmi->ddc)