Commit 4f96c730 authored by Sameer Wadgaonkar's avatar Sameer Wadgaonkar Committed by Greg Kroah-Hartman

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

Renamed functions
* chipset_bus_create() to visorchipset_bus_create()
* chipset_bus_destroy() to visorchipset_bus_destroy()
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 9e78fd35
...@@ -1077,7 +1077,7 @@ remove_all_visor_devices(void) ...@@ -1077,7 +1077,7 @@ remove_all_visor_devices(void)
} }
int int
chipset_bus_create(struct visor_device *dev) visorchipset_bus_create(struct visor_device *dev)
{ {
int err; int err;
...@@ -1092,7 +1092,7 @@ chipset_bus_create(struct visor_device *dev) ...@@ -1092,7 +1092,7 @@ chipset_bus_create(struct visor_device *dev)
} }
void void
chipset_bus_destroy(struct visor_device *dev) visorchipset_bus_destroy(struct visor_device *dev)
{ {
visorbus_remove_instance(dev); visorbus_remove_instance(dev);
visorbus_destroy_response(dev, 0); visorbus_destroy_response(dev, 0);
......
...@@ -27,8 +27,8 @@ ...@@ -27,8 +27,8 @@
* command line * command line
*/ */
int chipset_bus_create(struct visor_device *bus_info); int visorchipset_bus_create(struct visor_device *bus_info);
void chipset_bus_destroy(struct visor_device *bus_info); void visorchipset_bus_destroy(struct visor_device *bus_info);
int chipset_device_create(struct visor_device *dev_info); int chipset_device_create(struct visor_device *dev_info);
void chipset_device_destroy(struct visor_device *dev_info); 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);
......
...@@ -630,9 +630,9 @@ visorbus_create(struct controlvm_message *inmsg) ...@@ -630,9 +630,9 @@ visorbus_create(struct controlvm_message *inmsg)
} }
bus_info->visorchannel = visorchannel; bus_info->visorchannel = visorchannel;
/* Response will be handled by chipset_bus_create */ /* Response will be handled by visorchipset_bus_create */
err = chipset_bus_create(bus_info); err = visorchipset_bus_create(bus_info);
/* If error chipset_bus_create didn't respond, need to respond here */ /* If visorchipset_bus_create didn't respond, need to respond here */
if (err) if (err)
goto err_destroy_channel; goto err_destroy_channel;
...@@ -688,8 +688,8 @@ visorbus_destroy(struct controlvm_message *inmsg) ...@@ -688,8 +688,8 @@ visorbus_destroy(struct controlvm_message *inmsg)
bus_info->pending_msg_hdr = pmsg_hdr; bus_info->pending_msg_hdr = pmsg_hdr;
} }
/* Response will be handled by chipset_bus_destroy */ /* Response will be handled by visorchipset_bus_destroy */
chipset_bus_destroy(bus_info); visorchipset_bus_destroy(bus_info);
return 0; return 0;
err_respond: err_respond:
......
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