aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorTarun Kanti DebBarma <[email protected]>2012-07-11 14:43:14 +0530
committerLinus Walleij <[email protected]>2012-07-17 21:00:17 +0200
commit346720130aa49e1b711c0900e98fd12f4de972b0 (patch)
treec4e033fd1d5abb14a6f5fc126f3e29d574854979 /lib/mpi/mpi-bit.c
parentaeb27748e3bc1e89ec590713e574cb6f885cc3c6 (diff)
gpio/omap: move bank->dbck initialization to omap_gpio_mod_init()
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 <[email protected]> Reported-by: Paul Walmsley <[email protected]> Reviewed-by: Jon Hunter <[email protected]> Cc: Kevin Hilman <[email protected]> Cc: Rajendra Nayak <[email protected]> Cc: Santosh Shilimkar <[email protected]> Cc: Cousson, Benoit <[email protected]> Reviewed-by: Paul Walmsley <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions