]> git.baikalelectronics.ru Git - kernel.git/commit
Input: palmas-pwrbutton - handle return value of platform_get_irq()
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Fri, 17 Nov 2017 20:31:11 +0000 (12:31 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 6 Sep 2021 02:48:07 +0000 (19:48 -0700)
commit5385b43e5ee13a79b61c1638f8f961fa8d111343
treea8c101f87c63b563491209ede5e4962c4857a64f
parent6bb51014cd390a67716c1a2a52e7284643ba79ab
Input: palmas-pwrbutton - handle return value of platform_get_irq()

platform_get_irq() can fail here and we must check its return value.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/palmas-pwrbutton.c