OF: gpio: convert DT based gpio handling to new OF API
This creates a Linux OF API compatible counterpart of of_get_named_gpio_flags.
Existing of_get_named_gpio is converted to a static inline function, which is
in the corresponding of_gpio.h include. While at it, drivers/of/gpio.c is
also renamed to drivers/of/of_gpio.c to follow the of_ prefix naming scheme.
The new include is also added to existing users of of_get_named_gpio.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 483424e commit 61bb8bfc7cf12a32d547c0084a2999712bef6443
@Sebastian Hesselbarth Sebastian Hesselbarth authored on 2 Jul 2013
Sascha Hauer committed on 5 Jul 2013
Showing 6 changed files
View
drivers/of/Makefile
View
drivers/of/gpio.c 100644 → 0
View
drivers/of/of_gpio.c 0 → 100644
View
drivers/spi/imx_spi.c
View
include/of.h
View
include/of_gpio.h 0 → 100644