OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea15a40
)
greybus: svc: use macro for init and exit protocol
author
Phong Tran
<tranmanphong@gmail.com>
Wed, 27 May 2015 14:31:03 +0000
(21:31 +0700)
committer
Greg Kroah-Hartman
<gregkh@google.com>
Thu, 28 May 2015 20:58:29 +0000
(13:58 -0700)
Change to gb_gpbridge_protocol_driver for
making the consitent with other drivers.
Signed-off-by: Phong Tran <tranmanphong@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/svc.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/svc.c
b/drivers/staging/greybus/svc.c
index
ffbeac5
..
4dc10e3
100644
(file)
--- a/
drivers/staging/greybus/svc.c
+++ b/
drivers/staging/greybus/svc.c
@@
-245,12
+245,4
@@
static struct gb_protocol svc_protocol = {
.request_recv = gb_svc_request_recv,
};
-int gb_svc_protocol_init(void)
-{
- return gb_protocol_register(&svc_protocol);
-}
-
-void gb_svc_protocol_exit(void)
-{
- gb_protocol_deregister(&svc_protocol);
-}
+gb_gpbridge_protocol_driver(svc_protocol);