]> git.baikalelectronics.ru Git - kernel.git/commit
ti-st: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jun 2019 18:45:03 +0000 (20:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Jun 2019 11:37:04 +0000 (13:37 +0200)
commita864c9ab2d34eb55217597b1dabd56571dd20c07
tree977b6b3a11f1a5dd4ff5da8ab53bc3b9c7aa6ea1
parent92fa4b7bbc56c361f7fb4dcefb8c184cb1d52a88
ti-st: 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.

Cc: linux-kernel@vger.kernel.org
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/ti-st/st_kim.c