diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-05-21 12:52:33 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-21 21:54:47 -0700 |
commit | ccea44fadca396b0f89aed5bdeb60e4abb212566 (patch) | |
tree | 0babd82c934836b5499ec0ed663c708592a8a6ae /include/linux/device.h | |
parent | 3bfd49c8ab1859ae0f5fa1df2b3781c99115f442 (diff) | |
download | linux-ccea44fadca396b0f89aed5bdeb60e4abb212566.tar.gz linux-ccea44fadca396b0f89aed5bdeb60e4abb212566.tar.bz2 linux-ccea44fadca396b0f89aed5bdeb60e4abb212566.zip |
driver core: remove device_create()
There are no more users of this, and it is racy. Use
device_create_drvdata() or device_create_vargs() instead.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r-- | include/linux/device.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index e49aa74f248c..a3ef5a2d4fbb 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -470,9 +470,6 @@ extern struct device *device_create_vargs(struct class *cls, void *drvdata, const char *fmt, va_list vargs); -extern struct device *device_create(struct class *cls, struct device *parent, - dev_t devt, const char *fmt, ...) - __attribute__((format(printf, 4, 5))); extern struct device *device_create_drvdata(struct class *cls, struct device *parent, dev_t devt, |