From: Sven Eckelmann Date: Thu, 4 Oct 2012 17:43:15 +0000 (+0200) Subject: ath_hw: Use common REG_WRITE parameter order X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~337^2^2~85 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=037fd9b6473393c35a31f0c43e26eb7e874e901d;p=pandora-kernel.git ath_hw: Use common REG_WRITE parameter order All defines for REG_WRITE in Atheros wireless drivers use the order "ah", "register" and "value". hw.c is the only file using the order "ah", "value" and "register". drivers/net/wireless/ath/ath9k/hw.h:#define REG_WRITE(_ah, _reg, _val) \ drivers/net/wireless/ath/key.c:#define REG_WRITE(_ah, _reg, _val) (common->ops->write)(_ah, _val, _reg) This inconsistent definition can easily lead to implementation errors. The modification doesn't change the behavior of the driver or the generated code. Signed-off-by: Sven Eckelmann Signed-off-by: Simon Wunderlich Acked-by: Luis R. Rodriguez Signed-off-by: John W. Linville --- Reading git-diff-tree failed