mirror of https://gitee.com/openkylin/linux.git
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: 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>
This commit is contained in:
parent
ec17cb8a6c
commit
63847f17f7
|
@ -1086,7 +1086,7 @@ chipset_bus_create(struct visor_device *dev)
|
|||
if (err < 0)
|
||||
return err;
|
||||
|
||||
bus_create_response(dev, err);
|
||||
visorbus_create_response(dev, err);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -1095,7 +1095,7 @@ void
|
|||
chipset_bus_destroy(struct visor_device *dev)
|
||||
{
|
||||
remove_bus_instance(dev);
|
||||
bus_destroy_response(dev, 0);
|
||||
visorbus_destroy_response(dev, 0);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
@ -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_resume(struct visor_device *dev_info);
|
||||
|
||||
void bus_create_response(struct visor_device *p, int response);
|
||||
void bus_destroy_response(struct visor_device *p, int response);
|
||||
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);
|
||||
|
|
|
@ -1450,7 +1450,7 @@ setup_crash_devices_work_queue(struct work_struct *work)
|
|||
}
|
||||
|
||||
void
|
||||
bus_create_response(struct visor_device *bus_info, int response)
|
||||
visorbus_create_response(struct visor_device *bus_info, int response)
|
||||
{
|
||||
if (response >= 0)
|
||||
bus_info->state.created = 1;
|
||||
|
@ -1463,7 +1463,7 @@ bus_create_response(struct visor_device *bus_info, int response)
|
|||
}
|
||||
|
||||
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,
|
||||
response);
|
||||
|
|
Loading…
Reference in New Issue