]> git.baikalelectronics.ru Git - kernel.git/commit
Input: nspire-keypad - add missing clk_disable_unprepare() on error path
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 16 Oct 2013 06:37:44 +0000 (23:37 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 16 Oct 2013 06:42:11 +0000 (23:42 -0700)
commitfa989ed291d8cb5bb9fb029e233399d3773d7570
tree0f98e83c67e26e80e2b8af49fa931ed53a361aa1
parentc2f1ce8446e74e9c2ae27051194ad30e9485a36f
Input: nspire-keypad - add missing clk_disable_unprepare() on error path

Add the missing clk_disable_unprepare() before return
from nspire_keypad_open() in the error handling case.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/nspire-keypad.c