]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: tegra: Get rid of all file scoped global variables
authorLaxman Dewangan <ldewangan@nvidia.com>
Mon, 25 Apr 2016 10:38:33 +0000 (16:08 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 29 Apr 2016 09:00:51 +0000 (11:00 +0200)
commit667098214daf87f9a815e25a5abfd98e2623d168
treec7612c74202063aa37b2f5b4565a420c5cad5928
parent153f1aba6967156e4ed51431ca33c1bc0af3e044
gpio: tegra: Get rid of all file scoped global variables

Move the file scoped multiple global variable from Tegra GPIO
driver to the structure and make this as gpiochip data which
can be referred from GPIO chip callbacks.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tegra.c