diff options
author | Sven Eckelmann <[email protected]> | 2012-10-04 19:43:15 +0200 |
---|---|---|
committer | John W. Linville <[email protected]> | 2012-10-19 15:53:06 -0400 |
commit | 037fd9b6473393c35a31f0c43e26eb7e874e901d (patch) | |
tree | 36952e61f40c5ab8975c1e2df522aae477a3b168 /lib/cpu-notifier-error-inject.c | |
parent | ed9f0ed3b977f480a35ea3d3e9d966d89724185e (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 <[email protected]>
Signed-off-by: Simon Wunderlich <[email protected]>
Acked-by: Luis R. Rodriguez <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions