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: 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:
Sameer Wadgaonkar 2017-05-19 16:17:42 -04:00 committed by Greg Kroah-Hartman
parent c0b44136c8
commit 451072e3f0
1 changed files with 6 additions and 5 deletions

View File

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