device create: char: 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>
This commit is contained in:
@@ -657,8 +657,7 @@ static int __devinit hwicap_setup(struct device *dev, int id,
|
||||
goto failed3;
|
||||
}
|
||||
|
||||
device_create_drvdata(icap_class, dev, devt, NULL,
|
||||
"%s%d", DRIVER_NAME, id);
|
||||
device_create(icap_class, dev, devt, NULL, "%s%d", DRIVER_NAME, id);
|
||||
return 0; /* success */
|
||||
|
||||
failed3:
|
||||
|
Reference in New Issue
Block a user