From 8249a4a77e14d706bbe786343cec7f2cd534092c Mon Sep 17 00:00:00 2001 From: Andre Guedes Date: Tue, 18 Dec 2012 15:49:49 -0300 Subject: [PATCH] hog: Rename hog_device_register This patch renames hog_device_register function to hog_register_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 8d8f8043a..fa8069c32 100644 --- a/profiles/input/hog.c +++ b/profiles/input/hog.c @@ -716,7 +716,7 @@ static void hog_free_device(struct hog_device *hogdev) g_free(hogdev); } -static struct hog_device *hog_device_register(struct btd_device *device, +static struct hog_device *hog_register_device(struct btd_device *device, struct gatt_primary *prim) { struct hog_device *hogdev; @@ -841,7 +841,7 @@ static int hog_probe(struct btd_profile *p, struct btd_device *device, if (strcmp(prim->uuid, HOG_UUID) != 0) continue; - hogdev = hog_device_register(device, prim); + hogdev = hog_register_device(device, prim); if (hogdev == NULL) continue; -- 2.47.3