提交 7fb6b5d5 编写于 作者: G Greg Kroah-Hartman

device create: remove device_create_drvdata

Now that the tree is cleaned up, device_create_drvdata can be safely
removed.
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 3ee074bf
......@@ -502,7 +502,6 @@ extern struct device *device_create(struct class *cls, struct device *parent,
dev_t devt, void *drvdata,
const char *fmt, ...)
__attribute__((format(printf, 5, 6)));
#define device_create_drvdata device_create
extern void device_destroy(struct class *cls, dev_t devt);
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册