summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/gpbridge.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2016-05-09 18:15:09 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2016-05-14 19:13:57 +0200
commit3d64730e119480062ffd2d94c49532fbf3dbb217 (patch)
tree85b8e4da6b2699ba89e1a11072ecdc3c39df8f08 /drivers/staging/greybus/gpbridge.c
parentdca8060db87bd851d77a64ef70b822ce3a82b3b5 (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.c7
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);