Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea3a5aaf authored by David Binder's avatar David Binder Committed by Greg Kroah-Hartman
Browse files

staging: unisys: visorbus: Rename function to follow existing convention



Renames visorchipset_device_pause_response to device_pause_response,
thereby following the convention that other responder functions follow.

Signed-off-by: default avatarDavid Binder <david.binder@unisys.com>
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Acked-By: default avatarNeil Horman <nhorman@tuxdriver.com>
Reviewed-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 87241ab8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1218,7 +1218,7 @@ pause_state_change_complete(struct visor_device *dev, int status)

	dev->pausing = false;

	visorchipset_device_pause_response(dev, status);
	device_pause_response(dev, status);
}

/**
@@ -1265,7 +1265,7 @@ initiate_chipset_device_pause_resume(struct visor_device *dev, bool is_pause)
	void (*notify_func)(struct visor_device *dev, int response) = NULL;

	if (is_pause)
		notify_func = visorchipset_device_pause_response;
		notify_func = device_pause_response;
	else
		notify_func = device_resume_response;
	if (!notify_func)
+1 −2
Original line number Diff line number Diff line
@@ -35,8 +35,7 @@ void bus_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 visorchipset_device_pause_response(struct visor_device *p,
					int response);
void device_pause_response(struct visor_device *p, int response);

/* visorbus init and exit functions */
int visorbus_init(void);
+2 −2
Original line number Diff line number Diff line
@@ -1983,7 +1983,7 @@ device_destroy_response(struct visor_device *dev_info, int response)
}

void
visorchipset_device_pause_response(struct visor_device *dev_info,
device_pause_response(struct visor_device *dev_info,
		      int response)
{
	device_changestate_responder(CONTROLVM_DEVICE_CHANGESTATE,