OSDN Git Service

mfd: ab8500: No need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Jul 2019 16:47:21 +0000 (18:47 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 12 Aug 2019 06:27:46 +0000 (07:27 +0100)
commit64e8a9bacadb58e04ab517d8fb5735302b96db5f
tree81acd69163ad28d16a132ba8a342f867ccda6332
parentefecc3b531a30004d0993907897ab977747af108
mfd: ab8500: 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>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ab8500-debugfs.c