All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Kershner <david.kershner@unisys.com>
To: gregkh@linuxfoundation.org,
	driverdev-devel@linuxdriverproject.org,
	sparmaintainer@unisys.com, jes.sorensen@redhat.com
Cc: David Binder <david.binder@unisys.com>
Subject: [PATCH 24/28] staging: unisys: visorbus: Rename function to follow existing convention
Date: Fri, 10 Jun 2016 19:35:53 -0400	[thread overview]
Message-ID: <1465601757-14330-25-git-send-email-david.kershner@unisys.com> (raw)
In-Reply-To: <1465601757-14330-1-git-send-email-david.kershner@unisys.com>

From: David Binder <david.binder@unisys.com>

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

Signed-off-by: David Binder <david.binder@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
---
 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

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

  parent reply	other threads:[~2016-06-10 23:36 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-10 23:35 [PATCH 00/28] staging: unisys: fix visorbus & visorinput issues raised by tglx David Kershner
2016-06-10 23:35 ` [PATCH 01/28] staging: unisys: visorbus: remove return values for write_vbus functions David Kershner
2016-06-10 23:35 ` [PATCH 02/28] staging: unisys: visorbus: check parahotplug_request_complete_result David Kershner
2016-06-10 23:35 ` [PATCH 03/28] staging: unisys: visorbus: remove unused module parameters David Kershner
2016-06-10 23:35 ` [PATCH 04/28] staging: unisys: visorbus: remove unused struct David Kershner
2016-06-10 23:35 ` [PATCH 05/28] staging: unisys: visorbus: modify format string to match argument David Kershner
2016-06-10 23:35 ` [PATCH 06/28] staging: unisys: visornic: Correct comment spelling mistake David Kershner
2016-06-10 23:35 ` [PATCH 07/28] staging: unisys: include: Remove thread-related enum members David Kershner
2016-06-10 23:35 ` [PATCH 08/28] staging: unisys: visorbus: removed unused periodic_test_workqueue David Kershner
2016-06-10 23:35 ` [PATCH 09/28] staging: unisys: visorinput: remove unnecessary locking David Kershner
2016-06-10 23:35 ` [PATCH 10/28] staging: unisys: visorbus: use kernel timer instead of workqueue David Kershner
2016-06-10 23:35 ` [PATCH 11/28] staging: unisys: visorbus: remove periodic_work.h/.c David Kershner
2016-06-10 23:35 ` [PATCH 12/28] staging: unisys: visorbus: Make visordriver_callback_lock a mutex David Kershner
2016-06-10 23:35 ` [PATCH 13/28] staging: unisys: visorbus: Remove unnecessary EXPORT_SYMBOL statements David Kershner
2016-06-10 23:35 ` [PATCH 14/28] staging: unisys: visorbus: Remove unused functions David Kershner
2016-06-10 23:35 ` [PATCH 15/28] staging: unisys: Remove reference to unused STANDALONE_CLIENT David Kershner
2016-06-10 23:35 ` [PATCH 16/28] staging: unisys: visorbus: remove unused parameter from function David Kershner
2016-06-10 23:35 ` [PATCH 17/28] staging: unisys: visorbus: fix commenting in vbusdevinfo.h David Kershner
2016-06-10 23:35 ` [PATCH 18/28] staging: unisys: visorbus: fix commenting in visorbus_main.c David Kershner
2016-06-10 23:35 ` [PATCH 19/28] staging: unisys: visorbus: fix visorchannel.c comments David Kershner
2016-06-10 23:35 ` [PATCH 20/28] staging: unisys: visorbus: Rectify commenting in visorchipset.c David Kershner
2016-06-10 23:35 ` [PATCH 21/28] staging: unisys: visorbus: Move visorbus-unique functions to private header David Kershner
2016-06-10 23:35 ` [PATCH 22/28] staging: unisys: visorbus: rectify kerneldoc comment for struct David Kershner
2016-06-10 23:35 ` [PATCH 23/28] staging: unisys: visorbus: Remove notifier-related code from visorbus David Kershner
2016-06-10 23:35 ` David Kershner [this message]
2016-06-10 23:35 ` [PATCH 25/28] staging: unisys: visorbus: fix visorbus_private.h comments David Kershner
2016-06-10 23:35 ` [PATCH 26/28] staging: unisys: Move vbushelper.h to visorbus directory David Kershner
2016-06-10 23:35 ` [PATCH 27/28] staging: unisys: visorinput: ensure proper locking wrt creation & ints David Kershner
2016-06-10 23:35 ` [PATCH 28/28] staging: unisys: visorinput: make lock_visor_dev a mutex David Kershner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1465601757-14330-25-git-send-email-david.kershner@unisys.com \
    --to=david.kershner@unisys.com \
    --cc=david.binder@unisys.com \
    --cc=driverdev-devel@linuxdriverproject.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jes.sorensen@redhat.com \
    --cc=sparmaintainer@unisys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.