forked from Minki/linux
gpio: vf610: Replaces comma between expression statements by semicolon
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
331758eef8
commit
d32efe3796
@ -244,16 +244,16 @@ static int vf610_gpio_probe(struct platform_device *pdev)
|
||||
gc = &port->gc;
|
||||
gc->of_node = np;
|
||||
gc->dev = dev;
|
||||
gc->label = "vf610-gpio",
|
||||
gc->ngpio = VF610_GPIO_PER_PORT,
|
||||
gc->label = "vf610-gpio";
|
||||
gc->ngpio = VF610_GPIO_PER_PORT;
|
||||
gc->base = of_alias_get_id(np, "gpio") * VF610_GPIO_PER_PORT;
|
||||
|
||||
gc->request = vf610_gpio_request,
|
||||
gc->free = vf610_gpio_free,
|
||||
gc->direction_input = vf610_gpio_direction_input,
|
||||
gc->get = vf610_gpio_get,
|
||||
gc->direction_output = vf610_gpio_direction_output,
|
||||
gc->set = vf610_gpio_set,
|
||||
gc->request = vf610_gpio_request;
|
||||
gc->free = vf610_gpio_free;
|
||||
gc->direction_input = vf610_gpio_direction_input;
|
||||
gc->get = vf610_gpio_get;
|
||||
gc->direction_output = vf610_gpio_direction_output;
|
||||
gc->set = vf610_gpio_set;
|
||||
|
||||
ret = gpiochip_add(gc);
|
||||
if (ret < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user