gb_gpbridge_builtin_driver() isn't used anymore, remove it.
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>
#define gb_gpbridge_deregister(driver) \
gb_gpbridge_deregister_driver(driver)
-#define gb_gpbridge_builtin_driver(__driver) \
- int __init gb_##__driver##_init(void) \
-{ \
- return gb_gpbridge_register(&__driver); \
-} \
-void gb_##__driver##_exit(void) \
-{ \
- gb_gpbridge_deregister(&__driver); \
-}
-
/**
* module_gpbridge_driver() - Helper macro for registering a gpbridge driver
* @__gpbridge_driver: gpbridge_driver structure