summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/marvell
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-11-26 15:04:49 +0300
committerKalle Valo <kvalo@codeaurora.org>2015-11-30 14:58:14 +0200
commit6d91ff7acc903b91488c17d781ebfecbce45285a (patch)
tree275de925bfbaa84a7748e7fb58189c146ba65cbd /drivers/net/wireless/marvell
parent952348a5f88b92e412f3e490fb83acc17e68d85c (diff)
downloadlwn-6d91ff7acc903b91488c17d781ebfecbce45285a.tar.gz
lwn-6d91ff7acc903b91488c17d781ebfecbce45285a.zip
libertas: cleanup a variable name
"&card->priv->driver_lock" and "&priv->driver_lock" are the same and it's nicer to use the shorter one consistently. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell')
-rw-r--r--drivers/net/wireless/marvell/libertas/if_sdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/marvell/libertas/if_sdio.c b/drivers/net/wireless/marvell/libertas/if_sdio.c
index 33ceda296c9c..68fd3a9779bd 100644
--- a/drivers/net/wireless/marvell/libertas/if_sdio.c
+++ b/drivers/net/wireless/marvell/libertas/if_sdio.c
@@ -228,7 +228,7 @@ static int if_sdio_handle_cmd(struct if_sdio_card *card,
memcpy(priv->resp_buf[i], buffer, size);
lbs_notify_command_response(priv, i);
- spin_unlock_irqrestore(&card->priv->driver_lock, flags);
+ spin_unlock_irqrestore(&priv->driver_lock, flags);
ret = 0;