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/hw/ipath | |
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/hw/ipath')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_file_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_file_ops.c b/drivers/infiniband/hw/ipath/ipath_file_ops.c index 56c0eda3c077..1af1f3a907c6 100644 --- a/drivers/infiniband/hw/ipath/ipath_file_ops.c +++ b/drivers/infiniband/hw/ipath/ipath_file_ops.c | |||
@@ -2455,7 +2455,7 @@ static int init_cdev(int minor, char *name, const struct file_operations *fops, | |||
2455 | goto err_cdev; | 2455 | goto err_cdev; |
2456 | } | 2456 | } |
2457 | 2457 | ||
2458 | device = device_create_drvdata(ipath_class, NULL, dev, NULL, name); | 2458 | device = device_create(ipath_class, NULL, dev, NULL, name); |
2459 | 2459 | ||
2460 | if (IS_ERR(device)) { | 2460 | if (IS_ERR(device)) { |
2461 | ret = PTR_ERR(device); | 2461 | ret = PTR_ERR(device); |