summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2025-03-18 12:13:41 +0300
committerLee Jones <lee@kernel.org>2025-05-22 17:49:58 +0300
commit1d2aeee6dd629084cc524ec2d00100e70aa3c824 (patch)
treeccc4cc29e0267cf6a3f4b3deca111ad985ee716d /include/linux
parent18e6c1d2a7e2b35311c5b82abd7d4ee8ef541369 (diff)
downloadlinux-1d2aeee6dd629084cc524ec2d00100e70aa3c824.tar.xz
mfd: aat2870: Use per-client debugfs directory
The I2C core now provides a debugfs entry for each client. Let this driver use it instead of the custom directory in debugfs root. Further improvements by this change: automatic clean up on removal, support of multiple instances. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Link: https://lore.kernel.org/r/20250318091426.22258-2-wsa+renesas@sang-engineering.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mfd/aat2870.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/mfd/aat2870.h b/include/linux/mfd/aat2870.h
index 2445842d482d..c7a3c53eba68 100644
--- a/include/linux/mfd/aat2870.h
+++ b/include/linux/mfd/aat2870.h
@@ -133,9 +133,6 @@ struct aat2870_data {
int (*read)(struct aat2870_data *aat2870, u8 addr, u8 *val);
int (*write)(struct aat2870_data *aat2870, u8 addr, u8 val);
int (*update)(struct aat2870_data *aat2870, u8 addr, u8 mask, u8 val);
-
- /* for debugfs */
- struct dentry *dentry_root;
};
struct aat2870_subdev_info {