[PATCH 04/44] Staging: bcm: Bcmchar.c: Renamed variable "stNVMReadWrite" -> "nvm_rw"
Matthias Beyer
mail at beyermatthias.de
Sun Aug 3 15:37:04 UTC 2014
Renamed variable "stNVMReadWrite" -> "nvm_rw" in
bcm_handle_nvm_read_cmd().
Signed-off-by: Matthias Beyer <mail at beyermatthias.de>
---
drivers/staging/bcm/Bcmchar.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c
index 8a07118..52f810d 100644
--- a/drivers/staging/bcm/Bcmchar.c
+++ b/drivers/staging/bcm/Bcmchar.c
@@ -4,7 +4,7 @@
static int bcm_handle_nvm_read_cmd(struct bcm_mini_adapter *ad,
PUCHAR read_data,
- struct bcm_nvm_readwrite *stNVMReadWrite)
+ struct bcm_nvm_readwrite *nvm_rw)
{
INT Status = STATUS_FAILURE;
@@ -22,8 +22,8 @@ static int bcm_handle_nvm_read_cmd(struct bcm_mini_adapter *ad,
}
Status = BeceemNVMRead(ad, (PUINT)read_data,
- stNVMReadWrite->uiOffset,
- stNVMReadWrite->uiNumBytes);
+ nvm_rw->uiOffset,
+ nvm_rw->uiNumBytes);
up(&ad->NVMRdmWrmLock);
if (Status != STATUS_SUCCESS) {
@@ -31,8 +31,7 @@ static int bcm_handle_nvm_read_cmd(struct bcm_mini_adapter *ad,
return Status;
}
- if (copy_to_user(stNVMReadWrite->pBuffer, read_data,
- stNVMReadWrite->uiNumBytes)) {
+ if (copy_to_user(nvm_rw->pBuffer, read_data, nvm_rw->uiNumBytes)) {
kfree(read_data);
return -EFAULT;
}
--
2.0.3
More information about the devel
mailing list