[PATCH 48/71] staging: unisys: bus_responder camel case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jeffrey <Jeffrey.Brown@xxxxxxxxxx>

Changed the camel cases in the static void bus_responder
cmdId -> cmdid
busNo -> busno

Signed-off-by: Jeffrey Brown <Jeffrey.Brown@xxxxxxxxxx>
---
 .../staging/unisys/visorchipset/visorchipset_main.c  | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c
index c96473d..69ff88a 100644
--- a/drivers/staging/unisys/visorchipset/visorchipset_main.c
+++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c
@@ -831,25 +831,25 @@ visorchipset_save_message(struct controlvm_message *msg,
 EXPORT_SYMBOL_GPL(visorchipset_save_message);
 
 static void
-bus_responder(enum controlvm_id cmdId, ulong busNo, int response)
+bus_responder(enum controlvm_id cmdid, ulong busno, int response)
 {
 	struct visorchipset_bus_info *p = NULL;
 	BOOL need_clear = FALSE;
 
-	p = findbus(&businfolist, busNo);
+	p = findbus(&businfolist, busno);
 	if (!p) {
-		LOGERR("internal error busNo=%lu", busNo);
+		LOGERR("internal error busNo=%lu", busno);
 		return;
 	}
 	if (response < 0) {
-		if ((cmdId == CONTROLVM_BUS_CREATE) &&
+		if ((cmdid == CONTROLVM_BUS_CREATE) &&
 		    (response != (-CONTROLVM_RESP_ERROR_ALREADY_DONE)))
 			/* undo the row we just created... */
-			delbusdevices(&devinfolist, busNo);
+			delbusdevices(&devinfolist, busno);
 	} else {
-		if (cmdId == CONTROLVM_BUS_CREATE)
+		if (cmdid == CONTROLVM_BUS_CREATE)
 			p->state.created = 1;
-		if (cmdId == CONTROLVM_BUS_DESTROY)
+		if (cmdid == CONTROLVM_BUS_DESTROY)
 			need_clear = TRUE;
 	}
 
@@ -857,15 +857,15 @@ bus_responder(enum controlvm_id cmdId, ulong busNo, int response)
 		LOGERR("bus_responder no pending msg");
 		return;		/* no controlvm response needed */
 	}
-	if (p->pending_msg_hdr.id != (u32)cmdId) {
-		LOGERR("expected=%d, found=%d", cmdId, p->pending_msg_hdr.id);
+	if (p->pending_msg_hdr.id != (u32)cmdid) {
+		LOGERR("expected=%d, found=%d", cmdid, p->pending_msg_hdr.id);
 		return;
 	}
 	controlvm_respond(&p->pending_msg_hdr, response);
 	p->pending_msg_hdr.id = CONTROLVM_INVALID;
 	if (need_clear) {
 		businfo_clear(p);
-		delbusdevices(&devinfolist, busNo);
+		delbusdevices(&devinfolist, busno);
 	}
 }
 
-- 
1.8.4

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux