From: Gabor Juhos Date: Fri, 16 Aug 2013 22:15:50 +0000 (+0200) Subject: rt2x00: rt2800lib: pass beacon index to rt2800_clear_beacon_register X-Git-Tag: v3.12-rc1~132^2~84^2^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77f7c0f3b8f2d464e841c5c35f3da8b4999a885c;p=pandora-kernel.git rt2x00: rt2800lib: pass beacon index to rt2800_clear_beacon_register Instead of precomputing the beacon base in each caller, pass the beacon index to the 'rt2800_clear_beacon_register' function and compute the beacon base in there. This allows to simplify the caller functions a bit. Signed-off-by: Gabor Juhos Signed-off-by: John W. Linville --- Reading git-diff-tree failed