diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-21 23:03:34 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-16 12:24:42 -0400 |
commit | 91bd418fdc8526ee70a0e8f7970b584c8870ae10 (patch) | |
tree | 7db9c7bbeb207a2e7aa0de472e936872ee686ebe /drivers/infiniband/core/cm.c | |
parent | 6229df31b9e7919f3b3217897ae9b9dc8196eb16 (diff) |
device create: infiniband: 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: Roland Dreier <rolandd@cisco.com>
Cc: Sean Hefty <sean.hefty@intel.com>
Cc: Hal Rosenstock <hal.rosenstock@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/infiniband/core/cm.c')
-rw-r--r-- | drivers/infiniband/core/cm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/infiniband/core/cm.c b/drivers/infiniband/core/cm.c index 3cab0cedfca2..a78d35aecee3 100644 --- a/drivers/infiniband/core/cm.c +++ b/drivers/infiniband/core/cm.c | |||
@@ -3691,9 +3691,9 @@ static void cm_add_one(struct ib_device *ib_device) | |||
3691 | cm_dev->ib_device = ib_device; | 3691 | cm_dev->ib_device = ib_device; |
3692 | cm_get_ack_delay(cm_dev); | 3692 | cm_get_ack_delay(cm_dev); |
3693 | 3693 | ||
3694 | cm_dev->device = device_create_drvdata(&cm_class, &ib_device->dev, | 3694 | cm_dev->device = device_create(&cm_class, &ib_device->dev, |
3695 | MKDEV(0, 0), NULL, | 3695 | MKDEV(0, 0), NULL, |
3696 | "%s", ib_device->name); | 3696 | "%s", ib_device->name); |
3697 | if (!cm_dev->device) { | 3697 | if (!cm_dev->device) { |
3698 | kfree(cm_dev); | 3698 | kfree(cm_dev); |
3699 | return; | 3699 | return; |