From: Sameer Wadgaonkar Date: Fri, 19 May 2017 20:17:37 +0000 (-0400) Subject: staging: unisys: visorbus: renamed functions like bus_*_response to match driver... X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=63847f17f7575fd71bbf6ebaed4f23a8b223b1c2;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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: Sameer Wadgaonkar Reported-by: Greg Kroah-Hartman Signed-off-by: David Kershner Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c b/drivers/staging/unisys/visorbus/visorbus_main.c index a692561c81c8..f02dfa7d28e3 100644 --- a/drivers/staging/unisys/visorbus/visorbus_main.c +++ b/drivers/staging/unisys/visorbus/visorbus_main.c @@ -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 diff --git a/drivers/staging/unisys/visorbus/visorbus_private.h b/drivers/staging/unisys/visorbus/visorbus_private.h index 9f030b1f589f..b09268c1947d 100644 --- a/drivers/staging/unisys/visorbus/visorbus_private.h +++ b/drivers/staging/unisys/visorbus/visorbus_private.h @@ -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); diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c index 68c2221eb35d..a3ece142b386 100644 --- a/drivers/staging/unisys/visorbus/visorchipset.c +++ b/drivers/staging/unisys/visorbus/visorchipset.c @@ -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);