device create: char: convert device_create_drvdata to device_create
[sfrench/cifs-2.6.git] / drivers / char / stallion.c
index 8b8f07a7f50529f1e67eaac40f0a4c43f4f1b0ed..963b03fb29e5583aa45e83f056c6cf1ff412ba43 100644 (file)
@@ -4743,8 +4743,8 @@ static int __init stallion_module_init(void)
        if (IS_ERR(stallion_class))
                printk("STALLION: failed to create class\n");
        for (i = 0; i < 4; i++)
-               device_create_drvdata(stallion_class, NULL, MKDEV(STL_SIOMEMMAJOR, i),
-                                     NULL, "staliomem%d", i);
+               device_create(stallion_class, NULL, MKDEV(STL_SIOMEMMAJOR, i),
+                             NULL, "staliomem%d", i);
 
        return 0;
 err_unrtty: