commit | 718c4ca1f721be3ae67f9ff7d43b9a910e4a1ec3 | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Mon Jun 04 13:35:15 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jun 12 15:50:23 2012 -0700 |
tree | 72e4e17b5b3ef534c823c21efdb2ab2d743fca80 | |
parent | ee4cd1b225368abed7e0f4d344f1e9a93e87b98e [diff] |
TTY: cyclades, add local pointer for card cy_pci_probe and cy_detect_isa reference cy_card[card_no] many times. It makes the code hard to read. Let us add a local variable holding a pointer to the card indexed by card_no and use that. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>