From ab8725ef9d4b8d639e56ee3dae7e7a314c7a51a7 Mon Sep 17 00:00:00 2001 From: Andre Guedes Date: Tue, 18 Dec 2012 15:49:46 -0300 Subject: [PATCH] hog: Rename hog_device_set_control_point 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 00ec151c7..186f6b19b 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) -- 2.47.3