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:41 -0700 |
commit | 1ff9f542e5f87c299226557ce5e67a402ed4b502 (patch) | |
tree | 964bd7293fbf607f6a7a329d9fc40e0a2b798a96 /drivers/block/aoe | |
parent | ae87221d3ce49d9de1e43756da834fd0bf05a2ad (diff) | |
download | kernel_samsung_tuna-1ff9f542e5f87c299226557ce5e67a402ed4b502.zip kernel_samsung_tuna-1ff9f542e5f87c299226557ce5e67a402ed4b502.tar.gz kernel_samsung_tuna-1ff9f542e5f87c299226557ce5e67a402ed4b502.tar.bz2 |
device create: block: convert device_create_drvdata to device_create
Now that device_create() has been audited, rename things back to the
original call to be sane.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/block/aoe')
-rw-r--r-- | drivers/block/aoe/aoechr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/block/aoe/aoechr.c b/drivers/block/aoe/aoechr.c index 1f56d2c..200efc4 100644 --- a/drivers/block/aoe/aoechr.c +++ b/drivers/block/aoe/aoechr.c @@ -284,9 +284,9 @@ aoechr_init(void) return PTR_ERR(aoe_class); } for (i = 0; i < ARRAY_SIZE(chardevs); ++i) - device_create_drvdata(aoe_class, NULL, - MKDEV(AOE_MAJOR, chardevs[i].minor), - NULL, chardevs[i].name); + device_create(aoe_class, NULL, + MKDEV(AOE_MAJOR, chardevs[i].minor), NULL, + chardevs[i].name); return 0; } |