mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-03-24 20:28:07 +08:00
staging: unisys: visorbus: renamed functions like device_*_response to match driver namespace
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>
This commit is contained in:
parent
63847f17f7
commit
f8b5a21feb
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -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);
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user