From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751939AbcFDRd5 (ORCPT ); Sat, 4 Jun 2016 13:33:57 -0400 Received: from mail1.bemta12.messagelabs.com ([216.82.251.12]:5126 "EHLO mail1.bemta12.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751238AbcFDR17 (ORCPT ); Sat, 4 Jun 2016 13:27:59 -0400 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrHIsWRWlGSWpSXmKPExsVywNY2U3cuf3C 4wZ12RouFbUtYLC7vmsPmwOTxeZNcAGMUa2ZeUn5FAmtG18HpbAWbRCsu/pzM3sDYJ9zFyMUh JLCLUeLpxAlsEM5+RollMycyQziXGCXWvT/HBOGsZZTom/SMEcLZwihx8kIbUIaTg03AQGLmn bvsILaIwHkWiae3ckFsYYEkiW/fQEZxcrAIqEjc3bUNrJ5XwEvizpTnrCC2hICcxMljk8FsTq D4lQdLwWqEBDwl9uzvYYaw1SQOn33EBlEfLNHxs58VYo6gxMmZT1hAbGYBCYmDL14wT2AUnIU kNQtJagEj0ypGjeLUorLUIl0jc72kosz0jJLcxMwcXUNDI73c1OLixPTUnMSkYr3k/NxNjMBw rWdgYNzBuKnR6xCjJAeTkijv1PlB4UJ8SfkplRmJxRnxRaU5qcWHGGU4OJQkeD/wBYcLCRalp qdWpGXmACMHJi3BwaMkwmsEkuYtLkjMLc5Mh0idYlSUEud9B5IQAElklObBtcGi9RKjrJQwLy MDA4MQT0FqUW5mCar8K0ZxDkYlYd4tIFN4MvNK4Ka/AlrMBLS44JE/yOKSRISUVAOjUnVaxsH 3RSXPVtQ1RK5hfiHsYbJNQGjdhkvcLvo9h35sXc/45oHQxaO/NEz4rxiVf/n780va8TcLAz7F 8Z7QdWZ2ZVJL7GrnXakb+kdHl2Vn2gqLF2cvTzn903iJYHH2xEfX/TXDhNVmVhjFOFbcnfb54 9lyhQkf3nWdYrdmkrjwd4vrK/4AJZbijERDLeai4kQA5Era5dECAAA= X-Env-Sender: David.Kershner@unisys.com X-Msg-Ref: server-8.tower-164.messagelabs.com!1465061275!19139663!4 X-Originating-IP: [192.61.61.105] X-StarScan-Received: X-StarScan-Version: 8.34; banners=-,-,- X-VirusChecked: Checked From: David Kershner To: , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v3 25/30] staging: unisys: visorbus: Rename function to follow existing convention Date: Sat, 4 Jun 2016 13:27:25 -0400 Message-ID: <1465061250-18551-26-git-send-email-david.kershner@unisys.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1465061250-18551-1-git-send-email-david.kershner@unisys.com> References: <1465061250-18551-1-git-send-email-david.kershner@unisys.com> X-OriginalArrivalTime: 04 Jun 2016 17:27:38.0301 (UTC) FILETIME=[63FF0ED0:01D1BE86] MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: David Binder Renames visorchipset_device_pause_response to device_pause_response, thereby following the convention that other responder functions follow. Signed-off-by: David Binder Signed-off-by: David Kershner --- drivers/staging/unisys/visorbus/visorbus_main.c | 4 ++-- drivers/staging/unisys/visorbus/visorbus_private.h | 3 +-- drivers/staging/unisys/visorbus/visorchipset.c | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c b/drivers/staging/unisys/visorbus/visorbus_main.c index c361077..293532f 100644 --- a/drivers/staging/unisys/visorbus/visorbus_main.c +++ b/drivers/staging/unisys/visorbus/visorbus_main.c @@ -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) diff --git a/drivers/staging/unisys/visorbus/visorbus_private.h b/drivers/staging/unisys/visorbus/visorbus_private.h index 3b5a8f2..a7b1d4f 100644 --- a/drivers/staging/unisys/visorbus/visorbus_private.h +++ b/drivers/staging/unisys/visorbus/visorbus_private.h @@ -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); diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c index ea548df..0b4a138 100644 --- a/drivers/staging/unisys/visorbus/visorchipset.c +++ b/drivers/staging/unisys/visorbus/visorchipset.c @@ -1983,8 +1983,8 @@ device_destroy_response(struct visor_device *dev_info, int response) } void -visorchipset_device_pause_response(struct visor_device *dev_info, - int response) +device_pause_response(struct visor_device *dev_info, + int response) { device_changestate_responder(CONTROLVM_DEVICE_CHANGESTATE, dev_info, response, -- 1.9.1