summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Romer <benjamin.romer@unisys.com>2015-03-16 13:58:40 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-23 22:00:18 +0100
commit712f42cd992af9016d961b5e68faaa08abba97c8 (patch)
tree0fa776d95504f04b1b8dc28e1a9687732e6a2f05
parent1eee0011450f8c71e4ad11b914e38976d8bc7674 (diff)
staging: unisys: fix CamelCase global Visorchipset_cache_buffers_in_use
Rename this variable: Visorchipset_cache_buffers_in_use => visorchipset_cache_buffers_in_use Update all references to use the fixed name. Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/unisys/visorchipset/visorchipset_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c
index 0b09102fa438..cea62fdf0bdb 100644
--- a/drivers/staging/unisys/visorchipset/visorchipset_main.c
+++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c
@@ -203,7 +203,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;
@@ -2066,7 +2066,7 @@ visorchipset_cache_alloc(struct kmem_cache *pool, BOOL ok_to_block,
if (!p)
return NULL;
- atomic_inc(&Visorchipset_cache_buffers_in_use);
+ atomic_inc(&visorchipset_cache_buffers_in_use);
return p;
}
@@ -2078,7 +2078,7 @@ visorchipset_cache_free(struct kmem_cache *pool, void *p, char *fn, int ln)
if (!p)
return;
- atomic_dec(&Visorchipset_cache_buffers_in_use);
+ atomic_dec(&visorchipset_cache_buffers_in_use);
kmem_cache_free(pool, p);
}