aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-06 18:47:22 +0200
committerLee Jones <lee.jones@linaro.org>2019-08-12 07:27:40 +0100
commitcbfe612d471fc3eda048a6a70c5c8f5ee34026a4 (patch)
treec95d5a4fd59725c0c74ee8729d60c48ce95d5f86 /include/linux/mfd
parentmfd: ab8500: No need to check return value of debugfs_create functions (diff)
downloadlinux-dev-cbfe612d471fc3eda048a6a70c5c8f5ee34026a4.tar.xz
linux-dev-cbfe612d471fc3eda048a6a70c5c8f5ee34026a4.zip
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 {
/* for debugfs */
struct dentry *dentry_root;
- struct dentry *dentry_reg;
};
struct aat2870_subdev_info {