aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-07-21 23:03:34 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-16 12:24:45 -0400
commit7fb6b5d51daf3613045258ee8add07022d8c39d3 (patch)
tree16a30bc96df18f8ec77b087aada417bef41d8a44 /include/linux/device.h
parent3ee074bf432d24a92894397ac48ad2f2bb95efdc (diff)
device create: remove device_create_drvdata
Now that the tree is cleaned up, device_create_drvdata can be safely removed. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index 246937c9cbc7..60f6456691a6 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -502,7 +502,6 @@ extern struct device *device_create(struct class *cls, struct device *parent,
502 dev_t devt, void *drvdata, 502 dev_t devt, void *drvdata,
503 const char *fmt, ...) 503 const char *fmt, ...)
504 __attribute__((format(printf, 5, 6))); 504 __attribute__((format(printf, 5, 6)));
505#define device_create_drvdata device_create
506extern void device_destroy(struct class *cls, dev_t devt); 505extern void device_destroy(struct class *cls, dev_t devt);
507 506
508/* 507/*