Commit 90b9bb81 authored by Linus Walleij's avatar Linus Walleij

ARM: gemini: switch to gpiochip_add_data()

We're planning to remove the gpiochip_add() function to swith
to gpiochip_add_data() with NULL for data argument.

Cc: arm@kernel.org
Acked-by: default avatarOlof Johansson <olof@lixom.net>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 050c5429
......@@ -17,7 +17,7 @@
#include <linux/init.h>
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/gpio.h>
#include <linux/gpio/driver.h>
#include <mach/hardware.h>
#include <mach/irqs.h>
......@@ -227,5 +227,5 @@ void __init gemini_gpio_init(void)
(void *)i);
}
BUG_ON(gpiochip_add(&gemini_gpio_chip));
BUG_ON(gpiochip_add_data(&gemini_gpio_chip, NULL));
}
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