gpio/74x164: fix clash with gpiolib namespace
authorLinus Walleij <linus.walleij@stericsson.com>
Mon, 13 Jun 2011 08:47:15 +0000 (10:47 +0200)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 13 Jun 2011 15:03:48 +0000 (09:03 -0600)
commit12610be33df5563d3f8cb141f231d4dc5b2a317f
tree122fa004a24d7522188a4adc151ea7f2674755f8
parent5523f86beab2b87d42cd58aca9bd5cee5466c6e3
gpio/74x164: fix clash with gpiolib namespace

The 74x164 GPIO driver has a static inline helper called
gpio_to_chip which clashes with the gpiolib namespace if we
try to expose the function with the same name from gpiolib,
and it's still confusing even if we don't do that. So rename
it to gpio_to_74x164_chip().

Reported-by: H Hartley Sweeten <hartleys@visionengravers.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-74x164.c