diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-21 20:03:34 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-16 09:24:43 -0700 |
commit | 6e05d6c4676408b46b01eef29fd472b89ba1f98a (patch) | |
tree | adf651cd167c9cdb8f177dcb78961dfeb2ef6ec1 /drivers/net/wan/cosa.c | |
parent | a9b12619f7b6f19c871437ec24a088787a04b1de (diff) | |
download | op-kernel-dev-6e05d6c4676408b46b01eef29fd472b89ba1f98a.zip op-kernel-dev-6e05d6c4676408b46b01eef29fd472b89ba1f98a.tar.gz |
device create: net: convert device_create_drvdata to device_create
Now that device_create() has been audited, rename things back to the
original call to be sane.
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/wan/cosa.c')
-rw-r--r-- | drivers/net/wan/cosa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wan/cosa.c b/drivers/net/wan/cosa.c index f140515..7f97f8d 100644 --- a/drivers/net/wan/cosa.c +++ b/drivers/net/wan/cosa.c @@ -388,8 +388,8 @@ static int __init cosa_init(void) goto out_chrdev; } for (i = 0; i < nr_cards; i++) - device_create_drvdata(cosa_class, NULL, MKDEV(cosa_major, i), - NULL, "cosa%d", i); + device_create(cosa_class, NULL, MKDEV(cosa_major, i), NULL, + "cosa%d", i); err = 0; goto out; |