staging: unisys: visorbus: renamed functions like chipset_bus_* to match driver namespace
authorSameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Fri, 19 May 2017 20:17:40 +0000 (16:17 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 May 2017 16:53:12 +0000 (18:53 +0200)
Renamed functions
* chipset_bus_create() to visorchipset_bus_create()
* chipset_bus_destroy() to visorchipset_bus_destroy()

Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorbus_main.c
drivers/staging/unisys/visorbus/visorbus_private.h
drivers/staging/unisys/visorbus/visorchipset.c

index 03e29b5031eb3ff4a7df66cb9b3eba5dc392846e..5ba807ccc45bfafaeb832f30896b6f5c25104fde 100644 (file)
@@ -1077,7 +1077,7 @@ remove_all_visor_devices(void)
 }
 
 int
-chipset_bus_create(struct visor_device *dev)
+visorchipset_bus_create(struct visor_device *dev)
 {
        int err;
 
@@ -1092,7 +1092,7 @@ chipset_bus_create(struct visor_device *dev)
 }
 
 void
-chipset_bus_destroy(struct visor_device *dev)
+visorchipset_bus_destroy(struct visor_device *dev)
 {
        visorbus_remove_instance(dev);
        visorbus_destroy_response(dev, 0);
index 4ecfd7b7e678e1044986fb06f3e92dcd0434184e..3c8993595b254c259865205a4a92bae98b895b3b 100644 (file)
@@ -27,8 +27,8 @@
  * command line
  */
 
-int chipset_bus_create(struct visor_device *bus_info);
-void chipset_bus_destroy(struct visor_device *bus_info);
+int visorchipset_bus_create(struct visor_device *bus_info);
+void visorchipset_bus_destroy(struct visor_device *bus_info);
 int chipset_device_create(struct visor_device *dev_info);
 void chipset_device_destroy(struct visor_device *dev_info);
 int chipset_device_pause(struct visor_device *dev_info);
index 3076b7728bd3fd6ca2fa2d14560a8ad5019a4ad6..eea70f43e5a1657cdd747bcccbe4f8da819f09dc 100644 (file)
@@ -630,9 +630,9 @@ visorbus_create(struct controlvm_message *inmsg)
        }
        bus_info->visorchannel = visorchannel;
 
-       /* Response will be handled by chipset_bus_create */
-       err = chipset_bus_create(bus_info);
-       /* If error chipset_bus_create didn't respond, need to respond here */
+       /* Response will be handled by visorchipset_bus_create */
+       err = visorchipset_bus_create(bus_info);
+       /* If visorchipset_bus_create didn't respond, need to respond here */
        if (err)
                goto err_destroy_channel;
 
@@ -688,8 +688,8 @@ visorbus_destroy(struct controlvm_message *inmsg)
                bus_info->pending_msg_hdr = pmsg_hdr;
        }
 
-       /* Response will be handled by chipset_bus_destroy */
-       chipset_bus_destroy(bus_info);
+       /* Response will be handled by visorchipset_bus_destroy */
+       visorchipset_bus_destroy(bus_info);
        return 0;
 
 err_respond: