staging: unisys: visorbus: renamed functions like device_*_response to match driver...
authorSameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Fri, 19 May 2017 20:17:38 +0000 (16:17 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 May 2017 16:53:12 +0000 (18:53 +0200)
Renamed functions
* device_create_response() to visorbus_device_create_response()
* device_destroy_response() to visorbus_device_destroy_response()
* device_pause_response() to visorbus_device_pause_response()
* device_resume_response() to visorbus_device_resume_response()

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 f02dfa7d28e338d85dff9dc908adc5fb290c324a..c122ce62ca1e2cbf85524a4b291b061f50aaa8f6 100644 (file)
@@ -1107,7 +1107,7 @@ chipset_device_create(struct visor_device *dev_info)
        if (err < 0)
                return err;
 
-       device_create_response(dev_info, err);
+       visorbus_device_create_response(dev_info, err);
 
        return 0;
 }
@@ -1117,7 +1117,7 @@ chipset_device_destroy(struct visor_device *dev_info)
 {
        remove_visor_device(dev_info);
 
-       device_destroy_response(dev_info, 0);
+       visorbus_device_destroy_response(dev_info, 0);
 }
 
 /*
@@ -1137,7 +1137,7 @@ pause_state_change_complete(struct visor_device *dev, int status)
 
        dev->pausing = false;
 
-       device_pause_response(dev, status);
+       visorbus_device_pause_response(dev, status);
 }
 
 /*
@@ -1162,7 +1162,7 @@ resume_state_change_complete(struct visor_device *dev, int status)
         * which will presumably want to send some sort of response to
         * the initiator.
         */
-       device_resume_response(dev, status);
+       visorbus_device_resume_response(dev, status);
 }
 
 /*
index b09268c1947d818260943d0f58902b57f745e412..4ecfd7b7e678e1044986fb06f3e92dcd0434184e 100644 (file)
@@ -36,10 +36,10 @@ int chipset_device_resume(struct visor_device *dev_info);
 
 void visorbus_create_response(struct visor_device *p, int response);
 void visorbus_destroy_response(struct visor_device *p, int response);
-void device_create_response(struct visor_device *p, int response);
-void device_destroy_response(struct visor_device *p, int response);
-void device_resume_response(struct visor_device *p, int response);
-void device_pause_response(struct visor_device *p, int response);
+void visorbus_device_create_response(struct visor_device *p, int response);
+void visorbus_device_destroy_response(struct visor_device *p, int response);
+void visorbus_device_resume_response(struct visor_device *p, int response);
+void visorbus_device_pause_response(struct visor_device *p, int response);
 
 int visorbus_init(void);
 void visorbus_exit(void);
index a3ece142b386615e6069a99537704ebf4c164563..3076b7728bd3fd6ca2fa2d14560a8ad5019a4ad6 100644 (file)
@@ -1473,7 +1473,7 @@ visorbus_destroy_response(struct visor_device *bus_info, int response)
 }
 
 void
-device_create_response(struct visor_device *dev_info, int response)
+visorbus_device_create_response(struct visor_device *dev_info, int response)
 {
        if (response >= 0)
                dev_info->state.created = 1;
@@ -1486,7 +1486,7 @@ device_create_response(struct visor_device *dev_info, int response)
 }
 
 void
-device_destroy_response(struct visor_device *dev_info, int response)
+visorbus_device_destroy_response(struct visor_device *dev_info, int response)
 {
        controlvm_responder(CONTROLVM_DEVICE_DESTROY, dev_info->pending_msg_hdr,
                            response);
@@ -1496,8 +1496,7 @@ device_destroy_response(struct visor_device *dev_info, int response)
 }
 
 void
-device_pause_response(struct visor_device *dev_info,
-                     int response)
+visorbus_device_pause_response(struct visor_device *dev_info, int response)
 {
        device_changestate_responder(CONTROLVM_DEVICE_CHANGESTATE,
                                     dev_info, response,
@@ -1508,7 +1507,7 @@ device_pause_response(struct visor_device *dev_info,
 }
 
 void
-device_resume_response(struct visor_device *dev_info, int response)
+visorbus_device_resume_response(struct visor_device *dev_info, int response)
 {
        device_changestate_responder(CONTROLVM_DEVICE_CHANGESTATE,
                                     dev_info, response,