]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/pcmcia/cm4040_cs.c
device create: char: convert device_create_drvdata to device_create
[linux-2.6-omap-h63xx.git] / drivers / char / pcmcia / cm4040_cs.c
index 2d7c906435b7be8a6b60e9e4e19ec2a727578304..4f0723b07974615f5177134b49deb671580e8813 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;
 }