Commit 221f7edb authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Dominik Brodowski

PCMCIA: Remove commented references to dead class_device_create_file()

Since this routine doesn't even exist anymore, there's no point
leaving in commented code using it.
Signed-off-by: default avatarRobert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
parent 801421eb
...@@ -1285,13 +1285,6 @@ static int __init init_i82365(void) ...@@ -1285,13 +1285,6 @@ static int __init init_i82365(void)
ret = pcmcia_register_socket(&socket[i].socket); ret = pcmcia_register_socket(&socket[i].socket);
if (!ret) if (!ret)
socket[i].flags |= IS_REGISTERED; 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 */ /* Finally, schedule a polling interrupt */
......
...@@ -754,13 +754,6 @@ static int __init init_m32r_pcc(void) ...@@ -754,13 +754,6 @@ static int __init init_m32r_pcc(void)
ret = pcmcia_register_socket(&socket[i].socket); ret = pcmcia_register_socket(&socket[i].socket);
if (!ret) if (!ret)
socket[i].flags |= IS_REGISTERED; 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 */ /* Finally, schedule a polling interrupt */
......
...@@ -716,13 +716,6 @@ static int __init init_m32r_pcc(void) ...@@ -716,13 +716,6 @@ static int __init init_m32r_pcc(void)
ret = pcmcia_register_socket(&socket[i].socket); ret = pcmcia_register_socket(&socket[i].socket);
if (!ret) if (!ret)
socket[i].flags |= IS_REGISTERED; 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 */ /* Finally, schedule a polling interrupt */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment