]> git.baikalelectronics.ru Git - kernel.git/commit
Input: bcm-keypad - remove unneeded NULL check before clk_disable_unprepare
authorWan Jiabing <wanjiabing@vivo.com>
Mon, 16 May 2022 22:24:31 +0000 (15:24 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 17 May 2022 04:10:12 +0000 (21:10 -0700)
commit8cd82fbb5ec5b5ad3b97ff439d7b73d1122feb2f
tree216794489227ec1f36cdd542ae63e14744f03ed2
parenta444af349f911e95834cc3557ba956de9334b095
Input: bcm-keypad - remove unneeded NULL check before clk_disable_unprepare

clk_disable_unprepare() already checks NULL by using IS_ERR_OR_NULL.
Remove unneeded NULL check for kp->clk.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Link: https://lore.kernel.org/r/20220516085511.10679-1-wanjiabing@vivo.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/bcm-keypad.c