aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-05-21 15:52:33 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-07-22 00:54:47 -0400
commitccea44fadca396b0f89aed5bdeb60e4abb212566 (patch)
tree0babd82c934836b5499ec0ed663c708592a8a6ae /include/linux/device.h
parent3bfd49c8ab1859ae0f5fa1df2b3781c99115f442 (diff)
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.h3
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,
470 void *drvdata, 470 void *drvdata,
471 const char *fmt, 471 const char *fmt,
472 va_list vargs); 472 va_list vargs);
473extern struct device *device_create(struct class *cls, struct device *parent,
474 dev_t devt, const char *fmt, ...)
475 __attribute__((format(printf, 4, 5)));
476extern struct device *device_create_drvdata(struct class *cls, 473extern struct device *device_create_drvdata(struct class *cls,
477 struct device *parent, 474 struct device *parent,
478 dev_t devt, 475 dev_t devt,