summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/da9063.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/da9063.c')
-rw-r--r--drivers/mfd/da9063.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/mfd/da9063.c b/drivers/mfd/da9063.c
index 0c27bf4..b6114a6 100644
--- a/drivers/mfd/da9063.c
+++ b/drivers/mfd/da9063.c
@@ -16,7 +16,6 @@
#include <common.h>
#include <driver.h>
#include <restart.h>
-#include <init.h>
#include <i2c/i2c.h>
#include <malloc.h>
#include <notifier.h>
@@ -297,10 +296,4 @@ static struct driver_d da9063_driver = {
.id_table = da9063_id,
.of_compatible = DRV_OF_COMPAT(da906x_dt_ids),
};
-
-static int da9063_init(void)
-{
- return i2c_driver_register(&da9063_driver);
-}
-
-device_initcall(da9063_init);
+device_i2c_driver(da9063_driver);