summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/wilc_sdio.c
diff options
context:
space:
mode:
authorGlen Lee <glen.lee@atmel.com>2015-11-18 15:11:22 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-18 14:30:50 -0800
commit49645e5c87fbb51f0608218f78325996ce8401f8 (patch)
tree6f9b7ff8dd4b40284fdb81018d4172558f72ea42 /drivers/staging/wilc1000/wilc_sdio.c
parente17bc4c4f15ca547ac4de9fb450f68419f8f0ce1 (diff)
downloadop-kernel-dev-49645e5c87fbb51f0608218f78325996ce8401f8.zip
op-kernel-dev-49645e5c87fbb51f0608218f78325996ce8401f8.tar.gz
staging: wilc1000: remove sdio speed control codes
This patch removes spi speed control related functions and variable. We cannot get exact clock what we need in this way and it can causes some problem in host side by setting the clock, so remove the codes. Speed control codes in spi also will removed in next patch, so it's ok to remove functions in linux_wlan.c and wilc_wlan.c which also not used anymore. The Following functions and varialbe are removed. MAX_SPEED, sdio_default_speed wilc_bus_set_default_speed wilc_bus_set_max_speed linux_sdio_set_speed linux_sdio_get_speed wilc_sdio_set_max_speed wilc_sdio_set_default_speed Signed-off-by: Glen Lee <glen.lee@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_sdio.c')
-rw-r--r--drivers/staging/wilc1000/wilc_sdio.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/staging/wilc1000/wilc_sdio.c b/drivers/staging/wilc1000/wilc_sdio.c
index f550ce0..b0454a7e 100644
--- a/drivers/staging/wilc1000/wilc_sdio.c
+++ b/drivers/staging/wilc1000/wilc_sdio.c
@@ -610,16 +610,6 @@ _fail_:
return 0;
}
-static void sdio_set_max_speed(void)
-{
- wilc_sdio_set_max_speed();
-}
-
-static void sdio_set_default_speed(void)
-{
- wilc_sdio_set_default_speed();
-}
-
static int sdio_read_size(u32 *size)
{
@@ -927,8 +917,6 @@ const struct wilc_hif_func wilc_hif_sdio = {
.hif_block_tx_ext = sdio_write,
.hif_block_rx_ext = sdio_read,
.hif_sync_ext = sdio_sync_ext,
- .hif_set_max_bus_speed = sdio_set_max_speed,
- .hif_set_default_bus_speed = sdio_set_default_speed,
.enable_interrupt = wilc_sdio_enable_interrupt,
.disable_interrupt = wilc_sdio_disable_interrupt,
};
OpenPOWER on IntegriCloud