Merge remote branch 'origin' into secretlab/next-devicetree
[pandora-kernel.git] / drivers / gpio / pca953x.c
index b827c97..f156ab3 100644 (file)
@@ -449,7 +449,7 @@ pca953x_get_alt_pdata(struct i2c_client *client)
        struct device_node *node;
        const uint16_t *val;
 
-       node = dev_archdata_get_node(&client->dev.archdata);
+       node = client->dev.of_node;
        if (node == NULL)
                return NULL;