summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/core.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-10-21 15:42:44 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2015-10-21 16:24:31 -0700
commit92cc1d225282592b19a91604cc23a99013d22802 (patch)
tree0a7116a73792ce6a41cef33becf98d89116e65eb /drivers/staging/greybus/core.c
parentf7d3ad9828eba01ed2f5ccc1a12b8b1362ed02b4 (diff)
greybus: endo: move greybus_endo_setup() to endo.c
It belongs to the endo layer and should be placed in endo.c instead. Do it. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/core.c')
-rw-r--r--drivers/staging/greybus/core.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/staging/greybus/core.c b/drivers/staging/greybus/core.c
index 5e1c75533d80..be75456a835d 100644
--- a/drivers/staging/greybus/core.c
+++ b/drivers/staging/greybus/core.c
@@ -228,20 +228,6 @@ struct greybus_host_device *greybus_create_hd(struct greybus_host_driver *driver
}
EXPORT_SYMBOL_GPL(greybus_create_hd);
-int greybus_endo_setup(struct greybus_host_device *hd, u16 endo_id,
- u8 ap_intf_id)
-{
- struct gb_endo *endo;
-
- endo = gb_endo_create(hd, endo_id, ap_intf_id);
- if (IS_ERR(endo))
- return PTR_ERR(endo);
- hd->endo = endo;
-
- return 0;
-}
-EXPORT_SYMBOL_GPL(greybus_endo_setup);
-
void greybus_remove_hd(struct greybus_host_device *hd)
{
/*