From: Mateusz Kulikowski Date: Mon, 13 Apr 2015 21:47:28 +0000 (+0200) Subject: staging: rtl8192e: Remove bb tx gains from r8192_priv X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~895 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20b7ec099007e31bc52b79c36673af307bd54752;p=pandora-kernel.git staging: rtl8192e: Remove bb tx gains from r8192_priv r8192_priv structure had 2 big arrays with tx gain register values: - cck_txbbgain_table - cck_txbbgain_ch14_table - txbbgain_table This arrays were read-only - filled in driver init code and look like firmware/chip-specific. This patch removes them from r8192_priv and puts them in (global) variables. tx_bb_gain is also flattened - register values are stored in array; Amplification value can be calculated using dm_tx_bb_gain_idx_to_amplify(). Signed-off-by: Mateusz Kulikowski Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed