]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: cleanup diagnose window read and write functions
authorKalle Valo <kvalo@qca.qualcomm.com>
Fri, 2 Sep 2011 07:32:05 +0000 (10:32 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 2 Sep 2011 07:32:05 +0000 (10:32 +0300)
commit4cf704eb2c8a7f2512719ba1d5bb5b00e2090fab
tree6d1f4f485ccbf6825249548526502d4fdbbcc56b
parent1cca94e140cd3a08737133433095271472d78ad7
ath6kl: cleanup diagnose window read and write functions

Just to make them a bit easier to read and unify naming. 32 suffix
in the function name means that it will be a 32 bit transfer. If there's
no number a buffer is transfered instead.

Use void pointers to get rid of ugly casts.

Don't provide target address as a pointer, pass it by value. Same for
the value used in write32().

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/core.h
drivers/net/wireless/ath/ath6kl/init.c
drivers/net/wireless/ath/ath6kl/main.c