staging: unisys: fix CamelCase in ReqHandlerFind()
authorBenjamin Romer <benjamin.romer@unisys.com>
Fri, 3 Oct 2014 18:08:53 +0000 (14:08 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:04 +0000 (10:29 +0800)
Fix CamelCase names:
ReqHandlerFind => req_handler_find
switchTypeGuid => switch_uuid

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/include/uisutils.h
drivers/staging/unisys/uislib/uislib.c
drivers/staging/unisys/uislib/uisutils.c

index 1455c73a54792734c7c2b856e3f400787d93b36e..65ded5eeab2657cd4256536a4d0164e219997a6c 100644 (file)
@@ -74,7 +74,7 @@ struct req_handler_info *req_handler_add(uuid_le switch_uuid,
                                int (*svr_channel_init)(void *x,
                                                unsigned char *client_str,
                                                u32 client_str_len, u64 bytes));
-struct req_handler_info *ReqHandlerFind(uuid_le switchTypeGuid);
+struct req_handler_info *req_handler_find(uuid_le switch_uuid);
 int ReqHandlerDel(uuid_le switchTypeGuid);
 
 #define uislib_ioremap_cache(addr, size) \
index c438d8334e2359e5a7fa5adc353b946d6870629b..0ae008bfa1996165067ed2166fe103b023c34166 100644 (file)
@@ -379,7 +379,7 @@ create_device(CONTROLVM_MESSAGE *msg, char *buf)
        if (msg->hdr.Flags.testMessage)
                dev->chanptr = (void __iomem *)__va(dev->channel_addr);
        else {
-               pReqHandler = ReqHandlerFind(dev->channel_uuid);
+               pReqHandler = req_handler_find(dev->channel_uuid);
                if (pReqHandler)
                        /* generic service handler registered for this
                         * channel
index b336debe1d73923794d3f786bcba4c43ac88206e..b62b680f23c573eb6bf81c454c2c61c35ae0b00f 100644 (file)
@@ -308,7 +308,7 @@ req_handler_add(uuid_le switch_uuid,
 }
 
 struct req_handler_info *
-ReqHandlerFind(uuid_le switchTypeGuid)
+req_handler_find(uuid_le switch_uuid)
 {
        struct list_head *lelt, *tmp;
        struct req_handler_info *entry = NULL;
@@ -316,7 +316,7 @@ ReqHandlerFind(uuid_le switchTypeGuid)
        spin_lock(&ReqHandlerInfo_list_lock);
        list_for_each_safe(lelt, tmp, &ReqHandlerInfo_list) {
                entry = list_entry(lelt, struct req_handler_info, list_link);
-               if (uuid_le_cmp(entry->switch_uuid, switchTypeGuid) == 0) {
+               if (uuid_le_cmp(entry->switch_uuid, switch_uuid) == 0) {
                        spin_unlock(&ReqHandlerInfo_list_lock);
                        return entry;
                }