aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-06 12:47:22 -0400
committerLee Jones <lee.jones@linaro.org>2019-08-12 02:27:40 -0400
commitcbfe612d471fc3eda048a6a70c5c8f5ee34026a4 (patch)
treec95d5a4fd59725c0c74ee8729d60c48ce95d5f86 /include/linux/mfd
parent64e8a9bacadb58e04ab517d8fb5735302b96db5f (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. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Lee Jones <lee.jones@linaro.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 {