staging: unisys: visorbus: Rename function to follow existing convention
authorDavid Binder <david.binder@unisys.com>
Sat, 11 Jun 2016 01:48:22 +0000 (21:48 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Aug 2016 18:44:26 +0000 (20:44 +0200)
Renames visorchipset_device_pause_response to device_pause_response,
thereby following the convention that other responder functions follow.

Signed-off-by: David Binder <david.binder@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Acked-By: Neil Horman <nhorman@tuxdriver.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
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 c361077047865037812e9bf5d6e4fedba19dd091..293532f0650b4271bb96dc9fed9a00d7a95f0291 100644 (file)
@@ -1218,7 +1218,7 @@ pause_state_change_complete(struct visor_device *dev, int status)
 
        dev->pausing = false;
 
-       visorchipset_device_pause_response(dev, status);
+       device_pause_response(dev, status);
 }
 
 /**
@@ -1265,7 +1265,7 @@ initiate_chipset_device_pause_resume(struct visor_device *dev, bool is_pause)
        void (*notify_func)(struct visor_device *dev, int response) = NULL;
 
        if (is_pause)
-               notify_func = visorchipset_device_pause_response;
+               notify_func = device_pause_response;
        else
                notify_func = device_resume_response;
        if (!notify_func)
index 3b5a8f2cb63060211c3130a435ee5a93d751e266..a7b1d4f48e50ad9df513d69eaede5e38dd68921c 100644 (file)
@@ -35,8 +35,7 @@ void bus_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 visorchipset_device_pause_response(struct visor_device *p,
-                                       int response);
+void device_pause_response(struct visor_device *p, int response);
 
 /* visorbus init and exit functions */
 int visorbus_init(void);
index ea548df762537f5698769703718d767f736b7454..0b4a138d9c45e0f96c886832a69de70b28fc3cf4 100644 (file)
@@ -1983,8 +1983,8 @@ device_destroy_response(struct visor_device *dev_info, int response)
 }
 
 void
-visorchipset_device_pause_response(struct visor_device *dev_info,
-                                  int response)
+device_pause_response(struct visor_device *dev_info,
+                     int response)
 {
        device_changestate_responder(CONTROLVM_DEVICE_CHANGESTATE,
                                     dev_info, response,