]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
device create: remove device_create_drvdata
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 22 Jul 2008 03:03:34 +0000 (20:03 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 16 Oct 2008 16:24:45 +0000 (09:24 -0700)
Now that the tree is cleaned up, device_create_drvdata can be safely
removed.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/device.h

index 246937c9cbc780db2cc30b542453d401bcd6c334..60f6456691a6ef7f6d01ca8ad59f873520ca244e 100644 (file)
@@ -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);
 
 /*