Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 259805
b: refs/heads/master
c: e327ec2
h: refs/heads/master
i:
  259803: f3b3aca
v: v3
  • Loading branch information
Arend van Spriel authored and Greg Kroah-Hartman committed Jul 5, 2011
1 parent 79c0432 commit b43482a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 165 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: a3e47e074e4dd9e2fe630e74cf1e146fb192a8af
refs/heads/master: e327ec2300d4b2ebe1731bd37dcc4a67d8da9975
1 change: 0 additions & 1 deletion trunk/drivers/staging/brcm80211/brcmfmac/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ DHDOFILES = \
wl_cfg80211.o \
dhd_cdc.o \
dhd_common.o \
dhd_custom_gpio.o \
dhd_sdio.o \
dhd_linux.o \
bcmsdh.o \
Expand Down
156 changes: 0 additions & 156 deletions trunk/drivers/staging/brcm80211/brcmfmac/dhd_custom_gpio.c

This file was deleted.

8 changes: 1 addition & 7 deletions trunk/drivers/staging/brcm80211/brcmfmac/dhd_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -2192,8 +2192,6 @@ static void __exit brcmf_module_cleanup(void)
#if defined(CUSTOMER_HW2) && defined(CONFIG_WIFI_CONTROL_FUNC)
wifi_del_dev();
#endif
/* Call customer gpio to turn off power with WL_REG_ON signal */
brcmf_customer_gpio_wlan_ctrl(WLAN_POWER_OFF);
}

static int __init brcmf_module_init(void)
Expand All @@ -2216,8 +2214,6 @@ static int __init brcmf_module_init(void)
DHD_ERROR(("Invalid module parameters.\n"));
return -EINVAL;
} while (0);
/* Call customer gpio to turn on power with WL_REG_ON signal */
brcmf_customer_gpio_wlan_ctrl(WLAN_POWER_ON);

#if defined(CUSTOMER_HW2) && defined(CONFIG_WIFI_CONTROL_FUNC)
sema_init(&wifi_control_sem, 0);
Expand Down Expand Up @@ -2245,11 +2241,9 @@ static int __init brcmf_module_init(void)
DHD_ERROR(("%s: dhd_bus_register failed\n", __func__));
goto failed;
}
return error;
return 0;

failed:
/* turn off power and exit */
brcmf_customer_gpio_wlan_ctrl(WLAN_POWER_OFF);
return -EINVAL;
}

Expand Down

0 comments on commit b43482a

Please sign in to comment.