]> 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)
commit0267bb4052681e8fc745934d94056ab99cb3b914
treec2385e18f3c28d7079ddd09ce2335ca499e11e78
parentd65b0c1099efce19dc68f4d110d946227e4bea6e
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