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

Commit 63847f17 authored by Sameer Wadgaonkar's avatar Sameer Wadgaonkar Committed by Greg Kroah-Hartman
Browse files

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: 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 ec17cb8a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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
+2 −2
Original line number Diff line number Diff line
@@ -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);
+2 −2
Original line number Diff line number Diff line
@@ -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);