gpiolib: define gpio suffixes globally
authorRojhalat Ibrahim <imr@rtschenk.de>
Wed, 11 Feb 2015 16:27:55 +0000 (17:27 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 5 Mar 2015 08:48:51 +0000 (09:48 +0100)
commit7f2e553a7173b485db41a52060f91fb8e5ab1c69
treeac11c7536c8873103a67560fe2321e224675fd2b
parent1feb57a245a4910b03202a814ffc51a900bd4aca
gpiolib: define gpio suffixes globally

Avoid multiple identical definitions of the gpio suffix strings by putting
them into a global constant array.

Signed-off-by: Rojhalat Ibrahim <imr@rtschenk.de>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c
drivers/gpio/gpiolib.h