summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-05-08 18:37:09 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-05-08 18:37:09 +0000
commitb5514e6c7f0258da455bbde02482fbcdb29d4442 (patch)
tree5e3fceee9da373a47ecc9d3c13f60c2fddee2d3f /input
parent5442ba4d63b8f9548e140a47f63046c11819a972 (diff)
Register service and UUIDs in one step
Diffstat (limited to 'input')
-rw-r--r--input/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/input/main.c b/input/main.c
index a98bc72f..c9432c21 100644
--- a/input/main.c
+++ b/input/main.c
@@ -55,17 +55,13 @@ static int input_init(void)
return -EIO;
}
- register_service("input");
-
- register_uuids("input", uuids);
+ register_service("input", uuids);
return 0;
}
static void input_exit(void)
{
- unregister_uuids("input");
-
unregister_service("input");
input_manager_exit();