]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/ip2/ip2main.c
device create: char: convert device_create_drvdata to device_create
[linux-2.6-omap-h63xx.git] / drivers / char / ip2 / ip2main.c
index 6774572d3759e19e2c25fca4e623088cf426643a..70e0ebc30bd08d5b9e034b2b22c341475c761252 100644 (file)
@@ -745,12 +745,12 @@ static int __init ip2_loadmain(void)
 
                pB = i2BoardPtrTable[i];
                if (pB != NULL) {
-                       device_create_drvdata(ip2_class, NULL,
-                                             MKDEV(IP2_IPL_MAJOR, 4 * i),
-                                             NULL, "ipl%d", i);
-                       device_create_drvdata(ip2_class, NULL,
-                                             MKDEV(IP2_IPL_MAJOR, 4 * i + 1),
-                                             NULL, "stat%d", i);
+                       device_create(ip2_class, NULL,
+                                     MKDEV(IP2_IPL_MAJOR, 4 * i),
+                                     NULL, "ipl%d", i);
+                       device_create(ip2_class, NULL,
+                                     MKDEV(IP2_IPL_MAJOR, 4 * i + 1),
+                                     NULL, "stat%d", i);
 
                        for (box = 0; box < ABS_MAX_BOXES; box++)
                                for (j = 0; j < ABS_BIGGEST_BOX; j++)