ath10k: use sizeof(*var) in kmalloc
authorMichal Kazior <michal.kazior@tieto.com>
Tue, 13 Aug 2013 05:54:55 +0000 (07:54 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 14 Aug 2013 15:00:00 +0000 (18:00 +0300)
commitffe5daa873d37b56203dce4e8e55a4fab26b796d
tree558e195ec31802b71639a1d70b256d0d8b1fe42b
parent7a53f3f38ad4746c82496293bfb48fae69d71c64
ath10k: use sizeof(*var) in kmalloc

This fixes checkpatch warning from the latest
3.11-rc kernel tree.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c