[PATCH 25/71] staging: unisys: atomic_t camel case

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

 



From: Jeffrey <Jeffrey.Brown@xxxxxxxxxx>

Changed the varaible Visorchipset_cache_buffers_in_use to
visorchipset_cache_buffers_in_use
Visorchipset_cache_buffer_in_use =>visorchipset_cache_buffer_in_use

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

diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c
index ed06d7b..7e1b176 100644
--- a/drivers/staging/unisys/visorchipset/visorchipset_main.c
+++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c
@@ -214,7 +214,7 @@ struct putfile_request {
 	int completion_status;
 };
 
-static atomic_t Visorchipset_cache_buffers_in_use = ATOMIC_INIT(0);
+static atomic_t visorchipset_cache_buffers_in_use = ATOMIC_INIT(0);
 
 struct parahotplug_request {
 	struct list_head list;
@@ -2291,7 +2291,7 @@ visorchipset_cache_alloc(struct kmem_cache *pool, BOOL ok_to_block,
 		LOGERR("kmem_cache_alloc failed early @%s:%d\n", fn, ln);
 		return NULL;
 	}
-	atomic_inc(&Visorchipset_cache_buffers_in_use);
+	atomic_inc(&visorchipset_cache_buffers_in_use);
 	return p;
 }
 
@@ -2304,7 +2304,7 @@ visorchipset_cache_free(struct kmem_cache *pool, void *p, char *fn, int ln)
 		LOGERR("NULL pointer @%s:%d\n", fn, ln);
 		return;
 	}
-	atomic_dec(&Visorchipset_cache_buffers_in_use);
+	atomic_dec(&visorchipset_cache_buffers_in_use);
 	kmem_cache_free(pool, p);
 }
 
-- 
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