diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-05-09 18:15:10 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-05-14 19:13:57 +0200 |
commit | bebc013bafed3cc42eada99da0a924e46b0cd0c3 (patch) | |
tree | c72683989c5e35fd4231814c04648131ea8d73b3 /drivers/staging/greybus/gpbridge.c | |
parent | 3d64730e119480062ffd2d94c49532fbf3dbb217 (diff) |
greybus: spi: Create separate module
Create separate module for spi 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 d5ccdc4c9003..2425df7a9ebb 100644 --- a/drivers/staging/greybus/gpbridge.c +++ b/drivers/staging/greybus/gpbridge.c @@ -325,15 +325,9 @@ static int __init gpbridge_init(void) pr_err("error initializing usb driver\n"); goto error_usb; } - if (gb_spi_driver_init()) { - pr_err("error initializing spi driver\n"); - goto error_spi; - } return 0; -error_spi: - gb_usb_driver_exit(); error_usb: gb_uart_driver_exit(); error_uart: @@ -347,7 +341,6 @@ module_init(gpbridge_init); static void __exit gpbridge_exit(void) { - gb_spi_driver_exit(); gb_usb_driver_exit(); gb_uart_driver_exit(); |