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)
commita4da47527d9f2e19a66527379418a5d13de9fff1
tree0f98e83c67e26e80e2b8af49fa931ed53a361aa1
parent1ccd33b8f69f9df7f11b0ec08259058164831ca5
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