Commit 63847f17 authored by Sameer Wadgaonkar's avatar Sameer Wadgaonkar Committed by Greg Kroah-Hartman

staging: unisys: visorbus: renamed functions like bus_*_response to match driver namespace

Renamed functions bus_create_response() to visorbus_create_response()
and bus_destroy_response() to visorbus_destroy_response().
Signed-off-by: default avatarSameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Reported-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ec17cb8a
...@@ -1086,7 +1086,7 @@ chipset_bus_create(struct visor_device *dev) ...@@ -1086,7 +1086,7 @@ chipset_bus_create(struct visor_device *dev)
if (err < 0) if (err < 0)
return err; return err;
bus_create_response(dev, err); visorbus_create_response(dev, err);
return 0; return 0;
} }
...@@ -1095,7 +1095,7 @@ void ...@@ -1095,7 +1095,7 @@ void
chipset_bus_destroy(struct visor_device *dev) chipset_bus_destroy(struct visor_device *dev)
{ {
remove_bus_instance(dev); remove_bus_instance(dev);
bus_destroy_response(dev, 0); visorbus_destroy_response(dev, 0);
} }
int int
......
...@@ -34,8 +34,8 @@ void chipset_device_destroy(struct visor_device *dev_info); ...@@ -34,8 +34,8 @@ void chipset_device_destroy(struct visor_device *dev_info);
int chipset_device_pause(struct visor_device *dev_info); int chipset_device_pause(struct visor_device *dev_info);
int chipset_device_resume(struct visor_device *dev_info); int chipset_device_resume(struct visor_device *dev_info);
void bus_create_response(struct visor_device *p, int response); void visorbus_create_response(struct visor_device *p, int response);
void bus_destroy_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_create_response(struct visor_device *p, int response);
void device_destroy_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_resume_response(struct visor_device *p, int response);
......
...@@ -1450,7 +1450,7 @@ setup_crash_devices_work_queue(struct work_struct *work) ...@@ -1450,7 +1450,7 @@ setup_crash_devices_work_queue(struct work_struct *work)
} }
void void
bus_create_response(struct visor_device *bus_info, int response) visorbus_create_response(struct visor_device *bus_info, int response)
{ {
if (response >= 0) if (response >= 0)
bus_info->state.created = 1; bus_info->state.created = 1;
...@@ -1463,7 +1463,7 @@ bus_create_response(struct visor_device *bus_info, int response) ...@@ -1463,7 +1463,7 @@ bus_create_response(struct visor_device *bus_info, int response)
} }
void void
bus_destroy_response(struct visor_device *bus_info, int response) visorbus_destroy_response(struct visor_device *bus_info, int response)
{ {
controlvm_responder(CONTROLVM_BUS_DESTROY, bus_info->pending_msg_hdr, controlvm_responder(CONTROLVM_BUS_DESTROY, bus_info->pending_msg_hdr,
response); response);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment