diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2009-11-03 04:27:34 -0500 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2009-11-28 12:03:10 -0500 |
commit | dd2e5a156525f11754d9b1e0583f6bb49c253d62 (patch) | |
tree | f64b680eec9c4ca7da4fe635031a94a3bbf5ebee /drivers/net/wireless/atmel_cs.c | |
parent | 6838b03fc6564ea07d0cd87ea6e198d90ab1fc3e (diff) |
pcmcia: remove deprecated handle_to_dev() macro
Update remaining users and remove deprecated handle_to_dev() macro
CC: Harald Welte <laforge@gnumonks.org>
CC: netdev@vger.kernel.org
CC: linux-wireless@vger.kernel.org
CC: linux-serial@vger.kernel.org
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/net/wireless/atmel_cs.c')
-rw-r--r-- | drivers/net/wireless/atmel_cs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/atmel_cs.c b/drivers/net/wireless/atmel_cs.c index 78385722a768..18a58b859223 100644 --- a/drivers/net/wireless/atmel_cs.c +++ b/drivers/net/wireless/atmel_cs.c | |||
@@ -260,7 +260,7 @@ static int atmel_config(struct pcmcia_device *link) | |||
260 | struct pcmcia_device_id *did; | 260 | struct pcmcia_device_id *did; |
261 | 261 | ||
262 | dev = link->priv; | 262 | dev = link->priv; |
263 | did = dev_get_drvdata(&handle_to_dev(link)); | 263 | did = dev_get_drvdata(&link->dev); |
264 | 264 | ||
265 | dev_dbg(&link->dev, "atmel_config\n"); | 265 | dev_dbg(&link->dev, "atmel_config\n"); |
266 | 266 | ||
@@ -309,7 +309,7 @@ static int atmel_config(struct pcmcia_device *link) | |||
309 | init_atmel_card(link->irq.AssignedIRQ, | 309 | init_atmel_card(link->irq.AssignedIRQ, |
310 | link->io.BasePort1, | 310 | link->io.BasePort1, |
311 | did ? did->driver_info : ATMEL_FW_TYPE_NONE, | 311 | did ? did->driver_info : ATMEL_FW_TYPE_NONE, |
312 | &handle_to_dev(link), | 312 | &link->dev, |
313 | card_present, | 313 | card_present, |
314 | link); | 314 | link); |
315 | if (!((local_info_t*)link->priv)->eth_dev) | 315 | if (!((local_info_t*)link->priv)->eth_dev) |