gpio: change member .dev to .parent
[linux-2.6-block.git] / drivers / gpio / gpio-xgene.c
index 18a8182d4fec291f569233935ad0472517aefdb8..b8ceb71885f6b0151547fae3f753fb7a247191ba 100644 (file)
@@ -188,7 +188,7 @@ static int xgene_gpio_probe(struct platform_device *pdev)
        gpio->chip.ngpio = XGENE_MAX_GPIOS;
 
        spin_lock_init(&gpio->lock);
-       gpio->chip.dev = &pdev->dev;
+       gpio->chip.parent = &pdev->dev;
        gpio->chip.direction_input = xgene_gpio_dir_in;
        gpio->chip.direction_output = xgene_gpio_dir_out;
        gpio->chip.get = xgene_gpio_get;