|
@@ -10,7 +10,6 @@
|
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
|
|
#define CREATE_TRACE_POINTS
|
|
|
-#include "bootrom.h"
|
|
|
#include "greybus.h"
|
|
|
#include "greybus_trace.h"
|
|
|
|
|
@@ -271,12 +270,6 @@ static int __init gb_init(void)
|
|
|
goto error_operation;
|
|
|
}
|
|
|
|
|
|
- retval = gb_bootrom_init();
|
|
|
- if (retval) {
|
|
|
- pr_err("gb_bootrom_init failed\n");
|
|
|
- goto error_bootrom;
|
|
|
- }
|
|
|
-
|
|
|
retval = gb_timesync_init();
|
|
|
if (retval) {
|
|
|
pr_err("gb_timesync_init failed\n");
|
|
@@ -285,8 +278,6 @@ static int __init gb_init(void)
|
|
|
return 0; /* Success */
|
|
|
|
|
|
error_timesync:
|
|
|
- gb_bootrom_exit();
|
|
|
-error_bootrom:
|
|
|
gb_operation_exit();
|
|
|
error_operation:
|
|
|
gb_hd_exit();
|
|
@@ -302,7 +293,6 @@ module_init(gb_init);
|
|
|
static void __exit gb_exit(void)
|
|
|
{
|
|
|
gb_timesync_exit();
|
|
|
- gb_bootrom_exit();
|
|
|
gb_operation_exit();
|
|
|
gb_hd_exit();
|
|
|
bus_unregister(&greybus_bus_type);
|