diff --git a/drivers/net/wireless/uwe5622/unisocwifi/wl_core.c b/drivers/net/wireless/uwe5622/unisocwifi/wl_core.c index 206824604ec5..b14a51a5af2f 100755 --- a/drivers/net/wireless/uwe5622/unisocwifi/wl_core.c +++ b/drivers/net/wireless/uwe5622/unisocwifi/wl_core.c @@ -704,7 +704,7 @@ static int sprdwl_probe(struct platform_device *pdev) return ret; } -static int sprdwl_remove(struct platform_device *pdev) +static void sprdwl_remove(struct platform_device *pdev) { struct sprdwl_intf *intf = platform_get_drvdata(pdev); struct sprdwl_priv *priv = intf->priv; @@ -724,7 +724,7 @@ static int sprdwl_remove(struct platform_device *pdev) stop_marlin(MARLIN_WIFI); wl_info("%s\n", __func__); - return 0; + return; } static const struct of_device_id sprdwl_of_match[] = { diff --git a/drivers/net/wireless/uwe5622/unisocwcn/platform/wcn_boot.c b/drivers/net/wireless/uwe5622/unisocwcn/platform/wcn_boot.c index 83b899e5e2de..472189b56ce3 100755 --- a/drivers/net/wireless/uwe5622/unisocwcn/platform/wcn_boot.c +++ b/drivers/net/wireless/uwe5622/unisocwcn/platform/wcn_boot.c @@ -3862,7 +3862,7 @@ static int marlin_probe(struct platform_device *pdev) return 0; } -static int marlin_remove(struct platform_device *pdev) +static void marlin_remove(struct platform_device *pdev) { #if (defined(CONFIG_BT_WAKE_HOST_EN) && defined(CONFIG_AW_BOARD)) marlin_unregistsr_bt_wake(); @@ -3903,7 +3903,7 @@ static int marlin_remove(struct platform_device *pdev) WCN_INFO("marlin_remove ok!\n"); - return 0; + return; } static void marlin_shutdown(struct platform_device *pdev) diff --git a/drivers/net/wireless/uwe5622/tty-sdio/tty.c b/drivers/net/wireless/uwe5622/tty-sdio/tty.c index f6506d9632a5..79cef4a8d061 100644 --- a/drivers/net/wireless/uwe5622/tty-sdio/tty.c +++ b/drivers/net/wireless/uwe5622/tty-sdio/tty.c @@ -781,7 +781,7 @@ static void mtty_shutdown(struct platform_device *pdev) } #endif -static int mtty_remove(struct platform_device *pdev) +static void mtty_remove(struct platform_device *pdev) { struct mtty_device *mtty = platform_get_drvdata(pdev); @@ -800,7 +800,7 @@ static int mtty_remove(struct platform_device *pdev) //#endif bluesleep_exit(); - return 0; + return; } static const struct of_device_id mtty_match_table[] = {