of/gpio: export of_gpio_simple_xlate
authorJamie Iles <jamie@jamieiles.com>
Thu, 28 Jul 2011 15:25:41 +0000 (16:25 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 28 Jul 2011 22:19:22 +0000 (16:19 -0600)
commit3038bbdf7404ae3948385cbde30df946579d4e3a
tree808e8eebc52995ab6e414e74adb44cf2890fcff9
parent95b6886526bb510b8370b625a49bc0ab3b8ff10f
of/gpio: export of_gpio_simple_xlate

Allow GPIO drivers to use of_gpio_simple_xlate.  This is useful for the
generic GPIO driver for example where gpio_chip is embedded in
bgpio_chip and doesn't need of_mm_gpio_chip but has a simple 1:1 GPIO
mapping.

Cc: Anton Vorontsov <avorontsov@ru.mvista.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/of/gpio.c
include/linux/of_gpio.h