Linux bluetooth development
 help / color / mirror / Atom feed
From: Andre Guedes <andre.guedes@openbossa.org>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ 4/8] hog: Rename hog_device_set_control_point
Date: Tue, 18 Dec 2012 15:49:46 -0300	[thread overview]
Message-ID: <1355856590-19222-4-git-send-email-andre.guedes@openbossa.org> (raw)
In-Reply-To: <1355856590-19222-1-git-send-email-andre.guedes@openbossa.org>

This patch renames hog_device_set_control_point function to
set_control_point.
---
 profiles/input/hog.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/profiles/input/hog.c b/profiles/input/hog.c
index 00ec151..186f6b1 100644
--- a/profiles/input/hog.c
+++ b/profiles/input/hog.c
@@ -777,8 +777,7 @@ static int hog_device_unregister(struct hog_device *hogdev)
 	return 0;
 }
 
-static int hog_device_set_control_point(struct hog_device *hogdev,
-							gboolean suspend)
+static int set_control_point(struct hog_device *hogdev, gboolean suspend)
 {
 	uint8_t value = suspend ? 0x00 : 0x01;
 
@@ -802,7 +801,7 @@ static void set_suspend(gpointer data, gpointer user_data)
 	struct hog_device *hogdev = data;
 	gboolean suspend = GPOINTER_TO_INT(user_data);
 
-	hog_device_set_control_point(hogdev, suspend);
+	set_control_point(hogdev, suspend);
 }
 
 static void suspend_callback(void)
-- 
1.8.0.1


  parent reply	other threads:[~2012-12-18 18:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-18 18:49 [PATCH BlueZ 1/8] hog: Rename hog_device.c file to hog.c Andre Guedes
2012-12-18 18:49 ` [PATCH BlueZ 2/8] hog: Rename hog_device_probe Andre Guedes
2012-12-18 18:49 ` [PATCH BlueZ 3/8] hog: Rename hog_device_remove Andre Guedes
2012-12-18 18:49 ` Andre Guedes [this message]
2012-12-18 18:49 ` [PATCH BlueZ 5/8] hog: Rename hog_device_new Andre Guedes
2012-12-18 18:49 ` [PATCH BlueZ 6/8] hog: Rename hog_device_free Andre Guedes
2012-12-18 18:49 ` [PATCH BlueZ 7/8] hog: Rename hog_device_register Andre Guedes
2012-12-18 18:49 ` [PATCH BlueZ 8/8] hog: Rename hog_device_unregister Andre Guedes
2012-12-18 20:13   ` Anderson Lizardo
2012-12-19 13:38     ` Andre Guedes
2012-12-19 13:42   ` Andre Guedes
2012-12-19 22:01     ` Johan Hedberg

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=1355856590-19222-4-git-send-email-andre.guedes@openbossa.org \
    --to=andre.guedes@openbossa.org \
    --cc=linux-bluetooth@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox