]> git.baikalelectronics.ru Git - 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)
commit4bfc416b68f5d0c714e9d7f2232c0083046ec1d2
treefd6ce8792f94f26eae0a4bf73596e605429c8d3c
parent0c02874582c986a702efad64a337298c44a5ac79
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