From: Jiri Slaby Date: Mon, 4 Jun 2012 11:35:15 +0000 (+0200) Subject: TTY: cyclades, add local pointer for card X-Git-Tag: omap-cleanup-sparseirq-for-v3.7~203 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=718c4ca1f721be3ae67f9ff7d43b9a910e4a1ec3;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed