]> git.karo-electronics.de Git - linux-beck.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)
commitaddb44be036dd5fc814be770ec4b90f08c820e76
tree6d1f4f485ccbf6825249548526502d4fdbbcc56b
parent939f1ccec80bd2dad5638de2a6819c66d4cb6f32
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