aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-06 12:47:22 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-01 02:06:59 -0400
commitdc607f6bbafd2d8bf1d518c346560ba9577e402f (patch)
tree57e2da75f148dc697c5c04aebf3f45c70dd675ea /include/linux/mfd
parentb11f75d032d8706bd39390a63107828985a61de3 (diff)
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>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/aat2870.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mfd/aat2870.h b/include/linux/mfd/aat2870.h
index af7267c480ee..2445842d482d 100644
--- a/include/linux/mfd/aat2870.h
+++ b/include/linux/mfd/aat2870.h
@@ -136,7 +136,6 @@ struct aat2870_data {
136 136
137 /* for debugfs */ 137 /* for debugfs */
138 struct dentry *dentry_root; 138 struct dentry *dentry_root;
139 struct dentry *dentry_reg;
140}; 139};
141 140
142struct aat2870_subdev_info { 141struct aat2870_subdev_info {