[PATCH 1/2] gpio/omap: move bank->dbck initialization to omap_gpio_mod_init()
Linus Walleij
linus.walleij at linaro.org
Wed Jul 11 17:51:28 EDT 2012
On Wed, Jul 11, 2012 at 11:13 AM, Tarun Kanti DebBarma
<tarun.kanti at ti.com> wrote:
> Since the bank->dbck initialization in a one time operation there
> is no need to keep this within gpio_debounce(). Therefore, moving
> clk_get(bank->dbck) to omap_gpio_mod_init(). Since the value of
> bank->dbck would be NULL at the beginning, this check has been
> removed.
>
> Signed-off-by: Tarun Kanti DebBarma <tarun.kanti at ti.com>
Applied with Pauld reviewed-by.
Thanks,
Linus Walleij
More information about the linux-arm-kernel
mailing list