Remove wrapper rtw_mdelay_os()

This wrapper just calls mdelay(). Remove it.

Link: https://lore.kernel.org/r/20210805192644.15978-3-Larry.Finger@lwfinger.net
This commit is contained in:
Larry Finger
2021-08-05 14:26:41 -05:00
committed by Carlos Garcés
parent 5bc12edecb
commit 7f8451a86e
18 changed files with 42 additions and 92 deletions

View File

@@ -41,15 +41,15 @@ int platform_wifi_power_on(void)
/* Pull up BT reset pin. */
rtw_wifi_gpio_wlan_ctrl(WLAN_BT_PWDN_ON);
#endif
rtw_mdelay_os(5);
mdelay(5);
sdhci_bus_scan();
#ifdef CONFIG_RTL8723B
/* YJ,test,130305 */
rtw_mdelay_os(1000);
mdelay(1000);
#endif
#ifdef ANDROID_2X
rtw_mdelay_os(200);
mdelay(200);
#else /* !ANDROID_2X */
if (1) {
int i = 0;
@@ -70,7 +70,7 @@ void platform_wifi_power_off(void)
{
/* Pull down pwd pin, make wifi enter power down mode. */
rtw_wifi_gpio_wlan_ctrl(WLAN_PWDN_OFF);
rtw_mdelay_os(5);
mdelay(5);
rtw_wifi_gpio_deinit();
#ifdef CONFIG_RTL8188E