summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-05-21 12:52:33 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-07-21 21:54:47 -0700
commitccea44fadca396b0f89aed5bdeb60e4abb212566 (patch)
tree0babd82c934836b5499ec0ed663c708592a8a6ae /include/linux
parent3bfd49c8ab1859ae0f5fa1df2b3781c99115f442 (diff)
downloadop-kernel-dev-ccea44fadca396b0f89aed5bdeb60e4abb212566.zip
op-kernel-dev-ccea44fadca396b0f89aed5bdeb60e4abb212566.tar.gz
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')
-rw-r--r--include/linux/device.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index e49aa74..a3ef5a2 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,
OpenPOWER on IntegriCloud