gpiolib: Add GPIOCHIP_NAME definition
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 27 Nov 2019 08:42:47 +0000 (09:42 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 12 Dec 2019 10:36:13 +0000 (11:36 +0100)
commitddd8891e01ecd87c81c04f6eb169be193868b884
tree5d0e3ca60839ba0b2512ef4c7283b3bd70c3bb98
parente42617b825f8073569da76dc4510bfa019b1c35a
gpiolib: Add GPIOCHIP_NAME definition

The string literal "gpiochip" is used in several places.
Add a definition for it, and use it everywhere, to make sure everything
stays in sync.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20191127084253.16356-2-geert+renesas@glider.be
Reviewed-by: Ulrich Hecht <uli+renesas@fpond.eu>
Reviewed-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-sysfs.c
drivers/gpio/gpiolib.c
drivers/gpio/gpiolib.h