Diff between 5611bbed2c5fd6ee03ff82738883b04c9eb95fcc and 8249a4a77e14d706bbe786343cec7f2cd534092c

Changed Files

File Additions Deletions Status
profiles/input/hog.c +2 -2 modified

Full Patch

diff --git a/profiles/input/hog.c b/profiles/input/hog.c
index 8d8f804..fa8069c 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;