diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-05-20 17:20:10 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-05-20 22:44:37 -0700 |
commit | bdac599c70409bbf48e77971e2b9ecc2a66ef151 (patch) | |
tree | e6bdc8ce7d41a77c0ba61578d54bddd375ce8aef /drivers/staging/greybus/sdio.c | |
parent | 27551b1d5f9bc99881915adc558c2c6113846a40 (diff) |
greybus: Use gb_gpbridge_protocol_init()
Start using gb_gpbridge_protocol_init() in gpbridge drivers.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/sdio.c')
-rw-r--r-- | drivers/staging/greybus/sdio.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/staging/greybus/sdio.c b/drivers/staging/greybus/sdio.c index d324846d09ab..9a0348c62478 100644 --- a/drivers/staging/greybus/sdio.c +++ b/drivers/staging/greybus/sdio.c @@ -88,12 +88,4 @@ static struct gb_protocol sdio_protocol = { .request_recv = NULL, /* no incoming requests */ }; -int gb_sdio_protocol_init(void) -{ - return gb_protocol_register(&sdio_protocol); -} - -void gb_sdio_protocol_exit(void) -{ - gb_protocol_deregister(&sdio_protocol); -} +gb_gpbridge_protocol_driver(sdio_protocol); |