PCMCIA: Remove commented references to dead class_device_create_file()
[deliverable/linux.git] / drivers / pcmcia / i82365.c
index a2c138719bac80907a86b2c3e70c871af8283f51..22e9b52107b18d81b0b39d4ae19e5f709b9acf33 100644 (file)
@@ -208,7 +208,7 @@ static pcic_t pcic[] = {
     { "VIA VT83C469", IS_CIRRUS|IS_VIA },
 };
 
-#define PCIC_COUNT     (sizeof(pcic)/sizeof(pcic_t))
+#define PCIC_COUNT     ARRAY_SIZE(pcic)
 
 /*====================================================================*/
 
@@ -1285,13 +1285,6 @@ static int __init init_i82365(void)
            ret = pcmcia_register_socket(&socket[i].socket);
            if (!ret)
                    socket[i].flags |= IS_REGISTERED;
-
-#if 0 /* driver model ordering issue */
-          class_device_create_file(&socket[i].socket.dev,
-                                   &class_device_attr_info);
-          class_device_create_file(&socket[i].socket.dev,
-                                   &class_device_attr_exca);
-#endif
     }
 
     /* Finally, schedule a polling interrupt */
This page took 0.027284 seconds and 5 git commands to generate.