OSDN Git Service

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)
committerLee Jones <lee.jones@linaro.org>
Mon, 12 Aug 2019 06:27:40 +0000 (07:27 +0100)
commitefecc3b531a30004d0993907897ab977747af108
treee5cc3a1bdee19366e213d4140fb69693a043f5f9
parentb5e29aa880be84c271be8d0726cec4018bfbfd74
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.

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/ab3100-core.c
drivers/mfd/ab3100-otp.c