]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
rtw88: do not use (void *) as argument
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Wed, 29 May 2019 07:54:38 +0000 (15:54 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 27 Jun 2019 17:24:22 +0000 (20:24 +0300)
commit226746fd12013b80ef16eceb9081012d2a6efcc0
treefd6ce8792f94f26eae0a4bf73596e605429c8d3c
parentfa6dfe6bff246ddd5be3cfe81637f137acd6c294
rtw88: do not use (void *) as argument

The type change from (void *) to (struct rtw_dev *) is redundant.
Just pass the right type and compiler can check that for us.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/phy.c