mfd: aat2870: No need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Jul 2019 16:47:22 +0000 (18:47 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 12 Aug 2019 06:27:40 +0000 (07:27 +0100)
commitcbfe612d471fc3eda048a6a70c5c8f5ee34026a4
treec95d5a4fd59725c0c74ee8729d60c48ce95d5f86
parent64e8a9bacadb58e04ab517d8fb5735302b96db5f
mfd: aat2870: 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: Lee Jones <lee.jones@linaro.org>
drivers/mfd/aat2870-core.c
include/linux/mfd/aat2870.h