summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-adnp.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2012-10-04 19:43:15 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-10-19 15:53:06 -0400
commit037fd9b6473393c35a31f0c43e26eb7e874e901d (patch)
tree36952e61f40c5ab8975c1e2df522aae477a3b168 /drivers/gpio/gpio-adnp.c
parented9f0ed3b977f480a35ea3d3e9d966d89724185e (diff)
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 <sven@narfation.org> Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de> Acked-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/gpio/gpio-adnp.c')
0 files changed, 0 insertions, 0 deletions