summaryrefstree
path: root/kernel/include/linux/muic/muic_sysfs.h
blob: 073eb2274ad6afd483e89b1f51c9500f4deb900b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef MUIC_SYSFS_H
#define MUIC_SYSFS_H

#ifdef CONFIG_MUIC_SYSFS
extern struct device *muic_device_create(void *drvdata, const char *fmt);
extern void muic_device_destroy(dev_t devt);
#else
static inline struct device *muic_device_create(void *drvdata, const char *fmt)
{
	pr_err("No rule to make muic sysfs\n");
	return NULL;
}
static inline void muic_device_destroy(dev_t devt)
{
	return;
}
#endif

#endif /* MUIC_SYSFS_H */