OSDN Git Service

greybus: endo: define endo_init() and endo_exit()
authorAlex Elder <elder@linaro.org>
Tue, 9 Jun 2015 22:42:51 +0000 (17:42 -0500)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 10 Jun 2015 17:38:23 +0000 (10:38 -0700)
commitf35ab903ef6dad781a3de25ab37850499d2a39d4
tree76a39a932f61865a965a43618ef0a793dbe6befd
parent47ed2c92406f94ac0f122ebf0e05fc63d3f0c02a
greybus: endo: define endo_init() and endo_exit()

Define init and exit functions to do one-time setup and teardown
of endo-related functionality.  Currently they're place holders;
the next patch will populate them.

Note that we now call gb_operation_exit() from gb_init(), so
we can no longer mark that function with __exit.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/core.c
drivers/staging/greybus/endo.c
drivers/staging/greybus/endo.h
drivers/staging/greybus/operation.c
drivers/staging/greybus/operation.h