Skip to content

Commit

Permalink
PCMCIA: Remove commented references to dead class_device_create_file()
Browse files Browse the repository at this point in the history
Since this routine doesn't even exist anymore, there's no point
leaving in commented code using it.

Signed-off-by: Robert P. J. Day <[email protected]>
Signed-off-by: Dominik Brodowski <[email protected]>
  • Loading branch information
rpjday authored and Dominik Brodowski committed May 30, 2015
1 parent 801421e commit 221f7ed
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 21 deletions.
7 changes: 0 additions & 7 deletions drivers/pcmcia/i82365.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
7 changes: 0 additions & 7 deletions drivers/pcmcia/m32r_cfc.c
Original file line number Diff line number Diff line change
Expand Up @@ -754,13 +754,6 @@ static int __init init_m32r_pcc(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 */
Expand Down
7 changes: 0 additions & 7 deletions drivers/pcmcia/m32r_pcc.c
Original file line number Diff line number Diff line change
Expand Up @@ -716,13 +716,6 @@ static int __init init_m32r_pcc(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 */
Expand Down

0 comments on commit 221f7ed

Please sign in to comment.