From: Oleksij Rempel Date: Sun, 17 May 2015 19:49:19 +0000 (+0200) Subject: ath9k: split ar5008_hw_spur_mitigate and reuse common code in ar9002_hw_spur_mitigate. X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~139^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f911085ffa8863c62344876e0ab6073e4258c246;p=pandora-kernel.git ath9k: split ar5008_hw_spur_mitigate and reuse common code in ar9002_hw_spur_mitigate. [ar5008 and ar9002]_hw_spur_mitigate have big portion of identical code. This patch will move common part of ar5008_hw_spur_mitigate to ar5008_hw_cmn_spur_mitigate and reuse it in ar9002_hw_spur_mitigate. As noticed by Joe Perches I reuse ar9002_hw_spur_mitigate (const) version of declarations for pilot_mask_reg and chan_mask_reg. There should be no other difference with original code. Signed-off-by: Oleksij Rempel Signed-off-by: Kalle Valo --- Reading git-diff-tree failed