From: Tarun Kanti DebBarma Date: Wed, 11 Jul 2012 09:13:14 +0000 (+0530) Subject: gpio/omap: move bank->dbck initialization to omap_gpio_mod_init() X-Git-Tag: v3.6-rc1~86^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=346720130aa49e1b711c0900e98fd12f4de972b0;p=pandora-kernel.git 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 Reported-by: Paul Walmsley Reviewed-by: Jon Hunter Cc: Kevin Hilman Cc: Rajendra Nayak Cc: Santosh Shilimkar Cc: Cousson, Benoit Reviewed-by: Paul Walmsley Signed-off-by: Linus Walleij --- Reading git-diff-tree failed