Re: [PATCH 2/3] gpio: tegra: Remove the need of keeping device handle for gpio driver
From: Alexandre Courbot
Date: Tue Apr 19 2016 - 21:16:41 EST
On Mon, Apr 18, 2016 at 5:46 PM, Laxman Dewangan <ldewangan@xxxxxxxxxx> wrote:
> Remove the file static device handle variable as this is just
> required for prints. The required handle can be stored in
> tegra_gpio_chip and hence it become redundancy.
Small but still worthy change. "dev" in the file's global namespace is
scary and prone to conflict with local variables declarations.
Acked-by: Alexandre Courbot <acourbot@xxxxxxxxxx>
Now I hope you will take care of "regs" and the other static variables
as Stephen rightfully suggested. :)