From: Ivo van Doorn Date: Mon, 10 Nov 2008 18:41:40 +0000 (+0100) Subject: rt2x00: Cleanup indirect register access X-Git-Tag: v2.6.29-rc1~581^2~383^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9c3b1a5deac4297503145840fffcd122b253db5;p=pandora-kernel.git rt2x00: Cleanup indirect register access All code which accessed indirect registers was similar in respect to the for-loop, the given timeout, etc. Move it into a seperate function, which for PCI drivers can be moved into rt2x00pci. This allows us to cleanup the cleanup the code further by removing the goto statementsand making the codepath look a bit nicer. Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed