Linux bluetooth development
 help / color / mirror / Atom feed
From: Andre Guedes <andre.guedes@openbossa.org>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ 5/8] hog: Rename hog_device_new
Date: Tue, 18 Dec 2012 15:49:47 -0300	[thread overview]
Message-ID: <1355856590-19222-5-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_new function to hog_new_device.
---
 profiles/input/hog.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/profiles/input/hog.c b/profiles/input/hog.c
index 186f6b1..c68a089 100644
--- a/profiles/input/hog.c
+++ b/profiles/input/hog.c
@@ -680,7 +680,7 @@ static void attio_disconnected_cb(gpointer user_data)
 	hogdev->attrib = NULL;
 }
 
-static struct hog_device *hog_device_new(struct btd_device *device,
+static struct hog_device *hog_new_device(struct btd_device *device,
 								uint16_t id)
 {
 	struct hog_device *hogdev;
@@ -723,7 +723,7 @@ static struct hog_device *hog_device_register(struct btd_device *device,
 	GIOCondition cond = G_IO_IN | G_IO_ERR | G_IO_NVAL;
 	GIOChannel *io;
 
-	hogdev = hog_device_new(device, prim->range.start);
+	hogdev = hog_new_device(device, prim->range.start);
 	if (!hogdev)
 		return NULL;
 
-- 
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 ` [PATCH BlueZ 4/8] hog: Rename hog_device_set_control_point Andre Guedes
2012-12-18 18:49 ` Andre Guedes [this message]
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-5-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