Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236070
b: refs/heads/master
c: f0c0dda
h: refs/heads/master
v: v3
  • Loading branch information
Uwe Kleine-König authored and Greg Kroah-Hartman committed Feb 18, 2011
1 parent b58371c commit fe41ce6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9e36261d45989e13a2822d047687096f944cc9af
refs/heads/master: f0c0dda0767e3fa713b8c4a29369a65e4ae5e5c4
8 changes: 4 additions & 4 deletions trunk/drivers/staging/brcm80211/brcmfmac/dhd_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -2444,7 +2444,7 @@ static int __init dhd_module_init(void)
error = wifi_add_dev();
if (error) {
DHD_ERROR(("%s: platform_driver_register failed\n", __func__));
goto faild;
goto failed;
}

/* Waiting callback after platform_driver_register is done or
Expand All @@ -2454,19 +2454,19 @@ static int __init dhd_module_init(void)
__func__);
/* remove device */
wifi_del_dev();
goto faild;
goto failed;
}
#endif /* #if defined(CUSTOMER_HW2) && defined(CONFIG_WIFI_CONTROL_FUNC) */

error = dhd_bus_register();

if (error) {
DHD_ERROR(("%s: sdio_register_driver failed\n", __func__));
goto faild;
goto failed;
}
return error;

faild:
failed:
/* turn off power and exit */
dhd_customer_gpio_wlan_ctrl(WLAN_POWER_OFF);
return -EINVAL;
Expand Down

0 comments on commit fe41ce6

Please sign in to comment.