staging: unisys: visorbus: renamed function initiate_chipset_device_pause_resume...
authorSameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Fri, 19 May 2017 20:17:42 +0000 (16:17 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 May 2017 16:53:12 +0000 (18:53 +0200)
Renamed function initiate_chipset_device_pause_resume() to
visorchipset_initiate_device_pause_resume().

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

index f0b08d1d98c126f40ca17741f9b1b51d4dae0088..984d4d15fa93dee57661688259ff95a8eb0d6d38 100644 (file)
@@ -1166,8 +1166,8 @@ resume_state_change_complete(struct visor_device *dev, int status)
 }
 
 /*
- * initiate_chipset_device_pause_resume() - start a pause or resume operation
- *                                          for a visor device
+ * visorchipset_initiate_device_pause_resume() - start a pause or resume
+ *                                               operation for a visor device
  * @dev: struct visor_device identifying the device being paused or resumed
  * @is_pause: true to indicate pause operation, false to indicate resume
  *
@@ -1177,7 +1177,8 @@ resume_state_change_complete(struct visor_device *dev, int status)
  * resume_state_change_complete().
  */
 static int
-initiate_chipset_device_pause_resume(struct visor_device *dev, bool is_pause)
+visorchipset_initiate_device_pause_resume(struct visor_device *dev,
+                                         bool is_pause)
 {
        int err;
        struct visor_driver *drv = NULL;
@@ -1223,7 +1224,7 @@ visorchipset_device_pause(struct visor_device *dev_info)
 {
        int err;
 
-       err = initiate_chipset_device_pause_resume(dev_info, true);
+       err = visorchipset_initiate_device_pause_resume(dev_info, true);
 
        if (err < 0) {
                dev_info->pausing = false;
@@ -1246,7 +1247,7 @@ visorchipset_device_resume(struct visor_device *dev_info)
 {
        int err;
 
-       err = initiate_chipset_device_pause_resume(dev_info, false);
+       err = visorchipset_initiate_device_pause_resume(dev_info, false);
 
        if (err < 0) {
                dev_info->resuming = false;