device create: char: convert device_create_drvdata to device_create
[linux-2.6.git] / drivers / char / pcmcia / cm4040_cs.c
index 2d7c906..4f0723b 100644 (file)
@@ -637,8 +637,7 @@ static int reader_probe(struct pcmcia_device *link)
                return ret;
        }
 
-       device_create_drvdata(cmx_class, NULL, MKDEV(major, i), NULL,
-                             "cmx%d", i);
+       device_create(cmx_class, NULL, MKDEV(major, i), NULL, "cmx%d", i);
 
        return 0;
 }