summaryrefslogtreecommitdiffstats
path: root/include/linux/debugfs.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2020-12-18 09:15:12 +0200
committerTony Lindgren <tony@atomide.com>2020-12-18 09:15:12 +0200
commit500050f0d28868af302a3c24d7d1d0191521286e (patch)
tree7c4366836fcf5c7d7be4292f60d76876b3c463a0 /include/linux/debugfs.h
parentc0bc969c176b10598b31d5d1a5edf9a5261f0a9f (diff)
parent6efac0173cd15460b48c91e1b0a000379f341f00 (diff)
downloadcachepc-linux-500050f0d28868af302a3c24d7d1d0191521286e.tar.gz
cachepc-linux-500050f0d28868af302a3c24d7d1d0191521286e.zip
Merge branch 'fixes-omap3' into fixes
Diffstat (limited to 'include/linux/debugfs.h')
-rw-r--r--include/linux/debugfs.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h
index 851dd1f9a8a5..d6c4cc9ecc77 100644
--- a/include/linux/debugfs.h
+++ b/include/linux/debugfs.h
@@ -144,10 +144,9 @@ void debugfs_create_u32_array(const char *name, umode_t mode,
struct dentry *parent,
struct debugfs_u32_array *array);
-struct dentry *debugfs_create_devm_seqfile(struct device *dev, const char *name,
- struct dentry *parent,
- int (*read_fn)(struct seq_file *s,
- void *data));
+void debugfs_create_devm_seqfile(struct device *dev, const char *name,
+ struct dentry *parent,
+ int (*read_fn)(struct seq_file *s, void *data));
bool debugfs_initialized(void);
@@ -327,13 +326,12 @@ static inline void debugfs_create_u32_array(const char *name, umode_t mode,
{
}
-static inline struct dentry *debugfs_create_devm_seqfile(struct device *dev,
- const char *name,
- struct dentry *parent,
- int (*read_fn)(struct seq_file *s,
- void *data))
+static inline void debugfs_create_devm_seqfile(struct device *dev,
+ const char *name,
+ struct dentry *parent,
+ int (*read_fn)(struct seq_file *s,
+ void *data))
{
- return ERR_PTR(-ENODEV);
}
static inline ssize_t debugfs_read_file_bool(struct file *file,