diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2006-01-15 06:43:16 -0500 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2006-03-31 10:15:55 -0500 |
commit | 70294b468302fd7a0a99dad935c7ba5322989345 (patch) | |
tree | e54b0b7c85517ef717f3755e06ca08fbb0f5937e /drivers/bluetooth/bluecard_cs.c | |
parent | 4bbed5231468014b500b048d7370a1c6c349231a (diff) |
[PATCH] pcmcia: remove unneeded Vcc pseudo setting
As we do not allow setting Vcc in the pcmcia core, and Vpp1 and
Vpp2 can only be set to the same value, a lot of code can be
streamlined.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/bluetooth/bluecard_cs.c')
-rw-r--r-- | drivers/bluetooth/bluecard_cs.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/bluetooth/bluecard_cs.c b/drivers/bluetooth/bluecard_cs.c index bb833b251b68..8e23f9ad3e63 100644 --- a/drivers/bluetooth/bluecard_cs.c +++ b/drivers/bluetooth/bluecard_cs.c | |||
@@ -878,7 +878,6 @@ static int bluecard_attach(struct pcmcia_device *p_dev) | |||
878 | link->irq.Instance = info; | 878 | link->irq.Instance = info; |
879 | 879 | ||
880 | link->conf.Attributes = CONF_ENABLE_IRQ; | 880 | link->conf.Attributes = CONF_ENABLE_IRQ; |
881 | link->conf.Vcc = 50; | ||
882 | link->conf.IntType = INT_MEMORY_AND_IO; | 881 | link->conf.IntType = INT_MEMORY_AND_IO; |
883 | 882 | ||
884 | link->handle = p_dev; | 883 | link->handle = p_dev; |
@@ -925,7 +924,6 @@ static void bluecard_config(dev_link_t *link) | |||
925 | tuple_t tuple; | 924 | tuple_t tuple; |
926 | u_short buf[256]; | 925 | u_short buf[256]; |
927 | cisparse_t parse; | 926 | cisparse_t parse; |
928 | config_info_t config; | ||
929 | int i, n, last_ret, last_fn; | 927 | int i, n, last_ret, last_fn; |
930 | 928 | ||
931 | tuple.TupleData = (cisdata_t *)buf; | 929 | tuple.TupleData = (cisdata_t *)buf; |
@@ -945,8 +943,6 @@ static void bluecard_config(dev_link_t *link) | |||
945 | 943 | ||
946 | /* Configure card */ | 944 | /* Configure card */ |
947 | link->state |= DEV_CONFIG; | 945 | link->state |= DEV_CONFIG; |
948 | i = pcmcia_get_configuration_info(handle, &config); | ||
949 | link->conf.Vcc = config.Vcc; | ||
950 | 946 | ||
951 | link->conf.ConfigIndex = 0x20; | 947 | link->conf.ConfigIndex = 0x20; |
952 | link->io.NumPorts1 = 64; | 948 | link->io.NumPorts1 = 64; |