Commit 0d1bb2b3 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Walleij

gpio: Restore indentation of parent device setup

Fixes: 58383c78 ("gpio: change member .dev to .parent")
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 3e640743
...@@ -293,7 +293,7 @@ static int pcf857x_probe(struct i2c_client *client, ...@@ -293,7 +293,7 @@ static int pcf857x_probe(struct i2c_client *client,
gpio->chip.base = pdata ? pdata->gpio_base : -1; gpio->chip.base = pdata ? pdata->gpio_base : -1;
gpio->chip.can_sleep = true; gpio->chip.can_sleep = true;
gpio->chip.parent = &client->dev; gpio->chip.parent = &client->dev;
gpio->chip.owner = THIS_MODULE; gpio->chip.owner = THIS_MODULE;
gpio->chip.get = pcf857x_get; gpio->chip.get = pcf857x_get;
gpio->chip.set = pcf857x_set; gpio->chip.set = pcf857x_set;
......
...@@ -188,7 +188,7 @@ static int tz1090_pdc_gpio_probe(struct platform_device *pdev) ...@@ -188,7 +188,7 @@ static int tz1090_pdc_gpio_probe(struct platform_device *pdev)
/* Set up GPIO chip */ /* Set up GPIO chip */
priv->chip.label = "tz1090-pdc-gpio"; priv->chip.label = "tz1090-pdc-gpio";
priv->chip.parent = &pdev->dev; priv->chip.parent = &pdev->dev;
priv->chip.direction_input = tz1090_pdc_gpio_direction_input; priv->chip.direction_input = tz1090_pdc_gpio_direction_input;
priv->chip.direction_output = tz1090_pdc_gpio_direction_output; priv->chip.direction_output = tz1090_pdc_gpio_direction_output;
priv->chip.get = tz1090_pdc_gpio_get; priv->chip.get = tz1090_pdc_gpio_get;
......
...@@ -425,7 +425,7 @@ static int tz1090_gpio_bank_probe(struct tz1090_gpio_bank_info *info) ...@@ -425,7 +425,7 @@ static int tz1090_gpio_bank_probe(struct tz1090_gpio_bank_info *info)
snprintf(bank->label, sizeof(bank->label), "tz1090-gpio-%u", snprintf(bank->label, sizeof(bank->label), "tz1090-gpio-%u",
info->index); info->index);
bank->chip.label = bank->label; bank->chip.label = bank->label;
bank->chip.parent = dev; bank->chip.parent = dev;
bank->chip.direction_input = tz1090_gpio_direction_input; bank->chip.direction_input = tz1090_gpio_direction_input;
bank->chip.direction_output = tz1090_gpio_direction_output; bank->chip.direction_output = tz1090_gpio_direction_output;
bank->chip.get = tz1090_gpio_get; bank->chip.get = tz1090_gpio_get;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment