mfd: ab3100: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Jul 2019 16:47:20 +0000 (18:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Aug 2019 06:06:59 +0000 (08:06 +0200)
commit45640a383adc83331250f6fc7bf7e2c04f3e7879
tree501586f71141dd608a3602f969321e960eafd119
parent98051ba2b28be8a8ec5e22c01f464cff2d6d5f7c
mfd: ab3100: 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: Linus Walleij <linus.walleij@linaro.org>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: linux-arm-kernel@lists.infradead.org
Link: https://lore.kernel.org/r/20190706164722.18766-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mfd/ab3100-core.c
drivers/mfd/ab3100-otp.c