Commit 451072e3 authored by Sameer Wadgaonkar's avatar Sameer Wadgaonkar Committed by Greg Kroah-Hartman

staging: unisys: visorbus: renamed function...

staging: unisys: visorbus: renamed function initiate_chipset_device_pause_resume to match driver namespace

Renamed function initiate_chipset_device_pause_resume() to
visorchipset_initiate_device_pause_resume().
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 c0b44136
......@@ -1166,8 +1166,8 @@ resume_state_change_complete(struct visor_device *dev, int status)
}
/*
* initiate_chipset_device_pause_resume() - start a pause or resume operation
* for a visor device
* visorchipset_initiate_device_pause_resume() - start a pause or resume
* operation for a visor device
* @dev: struct visor_device identifying the device being paused or resumed
* @is_pause: true to indicate pause operation, false to indicate resume
*
......@@ -1177,7 +1177,8 @@ resume_state_change_complete(struct visor_device *dev, int status)
* resume_state_change_complete().
*/
static int
initiate_chipset_device_pause_resume(struct visor_device *dev, bool is_pause)
visorchipset_initiate_device_pause_resume(struct visor_device *dev,
bool is_pause)
{
int err;
struct visor_driver *drv = NULL;
......@@ -1223,7 +1224,7 @@ visorchipset_device_pause(struct visor_device *dev_info)
{
int err;
err = initiate_chipset_device_pause_resume(dev_info, true);
err = visorchipset_initiate_device_pause_resume(dev_info, true);
if (err < 0) {
dev_info->pausing = false;
......@@ -1246,7 +1247,7 @@ visorchipset_device_resume(struct visor_device *dev_info)
{
int err;
err = initiate_chipset_device_pause_resume(dev_info, false);
err = visorchipset_initiate_device_pause_resume(dev_info, false);
if (err < 0) {
dev_info->resuming = false;
......
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