]> asedeno.scripts.mit.edu Git - linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Aug 2019 06:06:59 +0000 (08:06 +0200)
commitdc607f6bbafd2d8bf1d518c346560ba9577e402f
tree57e2da75f148dc697c5c04aebf3f45c70dd675ea
parentb11f75d032d8706bd39390a63107828985a61de3
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.

Cc: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20190706164722.18766-3-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mfd/aat2870-core.c
include/linux/mfd/aat2870.h