]> git.baikalelectronics.ru Git - kernel.git/commit
Input: applespi - no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2019 07:06:38 +0000 (00:06 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 12 Aug 2019 07:10:59 +0000 (00:10 -0700)
commit851fb5689c779feedaabe5f7d4016bef3b9f8568
treec2385e18f3c28d7079ddd09ce2335ca499e11e78
parent9737b8334d7ed587aece7847324e2ed25ada1517
Input: applespi - no need to check return value of debugfs_create functions

When calling debugfs functions, there is no need to ever check the
return value.  The function can work or not, but the code logic should
never do something different based on this.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/applespi.c