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)
commitb546be0db955840e2c14aae5d8e5f93a456f9982
treec7612c74202063aa37b2f5b4565a420c5cad5928
parent804f56804d480edc3463a91bbcb39e3b4abd2ac6
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
This page took 0.024574 seconds and 5 git commands to generate.