diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-05-09 18:15:09 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-05-14 19:13:57 +0200 |
commit | 3d64730e119480062ffd2d94c49532fbf3dbb217 (patch) | |
tree | 85b8e4da6b2699ba89e1a11072ecdc3c39df8f08 /drivers/staging/greybus/gpbridge.c | |
parent | dca8060db87bd851d77a64ef70b822ce3a82b3b5 (diff) |
greybus: sdio: Create separate module
Create separate module for sdio gpbridge driver.
Tested on EVT 1.5 by inserting GP test module, all the devices were
enumerated correctly.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/gpbridge.c')
-rw-r--r-- | drivers/staging/greybus/gpbridge.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/greybus/gpbridge.c b/drivers/staging/greybus/gpbridge.c index ecff3b1f1861..d5ccdc4c9003 100644 --- a/drivers/staging/greybus/gpbridge.c +++ b/drivers/staging/greybus/gpbridge.c @@ -321,10 +321,6 @@ static int __init gpbridge_init(void) pr_err("error initializing uart driver\n"); goto error_uart; } - if (gb_sdio_driver_init()) { - pr_err("error initializing sdio driver\n"); - goto error_sdio; - } if (gb_usb_driver_init()) { pr_err("error initializing usb driver\n"); goto error_usb; @@ -339,8 +335,6 @@ static int __init gpbridge_init(void) error_spi: gb_usb_driver_exit(); error_usb: - gb_sdio_driver_exit(); -error_sdio: gb_uart_driver_exit(); error_uart: greybus_deregister(&gb_gpbridge_driver); @@ -355,7 +349,6 @@ static void __exit gpbridge_exit(void) { gb_spi_driver_exit(); gb_usb_driver_exit(); - gb_sdio_driver_exit(); gb_uart_driver_exit(); greybus_deregister(&gb_gpbridge_driver); |