diff options
author | Arend van Spriel <arend@broadcom.com> | 2013-12-12 05:59:04 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-12-18 15:22:57 -0500 |
commit | 82d7f3c10cf41c681e4577bcbc070454e5774960 (patch) | |
tree | 7ccc94e44196eedeac5d8ca45eb748d02f046e51 /drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c | |
parent | 7b8a466e7cd36fc2acdba5c22a594e75d9b9f61a (diff) |
brcmfmac: use consistent function names in dhd_sdio.c
Functions in dhd_sdio.c that are called with struct brcmf_sdio
instance are renamed consistently with brcmf_sdio_ prefix.
Reviewed-by: Franky Lin <frankyl@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c')
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c b/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c index 1b333a28a6aa..a4dae21ef9a3 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c +++ b/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c | |||
@@ -72,7 +72,7 @@ static irqreturn_t brcmf_sdiod_oob_irqhandler(int irq, void *dev_id) | |||
72 | sdiodev->irq_en = false; | 72 | sdiodev->irq_en = false; |
73 | } | 73 | } |
74 | 74 | ||
75 | brcmf_sdbrcm_isr(sdiodev->bus); | 75 | brcmf_sdio_isr(sdiodev->bus); |
76 | 76 | ||
77 | return IRQ_HANDLED; | 77 | return IRQ_HANDLED; |
78 | } | 78 | } |
@@ -84,7 +84,7 @@ static void brcmf_sdiod_ib_irqhandler(struct sdio_func *func) | |||
84 | 84 | ||
85 | brcmf_dbg(INTR, "IB intr triggered\n"); | 85 | brcmf_dbg(INTR, "IB intr triggered\n"); |
86 | 86 | ||
87 | brcmf_sdbrcm_isr(sdiodev->bus); | 87 | brcmf_sdio_isr(sdiodev->bus); |
88 | } | 88 | } |
89 | 89 | ||
90 | /* dummy handler for SDIO function 2 interrupt */ | 90 | /* dummy handler for SDIO function 2 interrupt */ |
@@ -901,7 +901,7 @@ static int brcmf_sdiod_remove(struct brcmf_sdio_dev *sdiodev) | |||
901 | sdiodev->bus_if->state = BRCMF_BUS_DOWN; | 901 | sdiodev->bus_if->state = BRCMF_BUS_DOWN; |
902 | 902 | ||
903 | if (sdiodev->bus) { | 903 | if (sdiodev->bus) { |
904 | brcmf_sdbrcm_disconnect(sdiodev->bus); | 904 | brcmf_sdio_disconnect(sdiodev->bus); |
905 | sdiodev->bus = NULL; | 905 | sdiodev->bus = NULL; |
906 | } | 906 | } |
907 | 907 | ||
@@ -971,7 +971,7 @@ static int brcmf_sdiod_probe(struct brcmf_sdio_dev *sdiodev) | |||
971 | sdiodev->max_segment_size = host->max_seg_size; | 971 | sdiodev->max_segment_size = host->max_seg_size; |
972 | 972 | ||
973 | /* try to attach to the target device */ | 973 | /* try to attach to the target device */ |
974 | sdiodev->bus = brcmf_sdbrcm_probe(sdiodev); | 974 | sdiodev->bus = brcmf_sdio_probe(sdiodev); |
975 | if (!sdiodev->bus) { | 975 | if (!sdiodev->bus) { |
976 | ret = -ENODEV; | 976 | ret = -ENODEV; |
977 | goto out; | 977 | goto out; |
@@ -1117,7 +1117,7 @@ static int brcmf_ops_sdio_suspend(struct device *dev) | |||
1117 | return ret; | 1117 | return ret; |
1118 | } | 1118 | } |
1119 | 1119 | ||
1120 | brcmf_sdbrcm_wd_timer(sdiodev->bus, 0); | 1120 | brcmf_sdio_wd_timer(sdiodev->bus, 0); |
1121 | 1121 | ||
1122 | return ret; | 1122 | return ret; |
1123 | } | 1123 | } |
@@ -1127,7 +1127,7 @@ static int brcmf_ops_sdio_resume(struct device *dev) | |||
1127 | struct brcmf_bus *bus_if = dev_get_drvdata(dev); | 1127 | struct brcmf_bus *bus_if = dev_get_drvdata(dev); |
1128 | struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; | 1128 | struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; |
1129 | 1129 | ||
1130 | brcmf_sdbrcm_wd_timer(sdiodev->bus, BRCMF_WD_POLL_MS); | 1130 | brcmf_sdio_wd_timer(sdiodev->bus, BRCMF_WD_POLL_MS); |
1131 | atomic_set(&sdiodev->suspend, false); | 1131 | atomic_set(&sdiodev->suspend, false); |
1132 | return 0; | 1132 | return 0; |
1133 | } | 1133 | } |