net: sun8i_emac: Use consistent clock bitfield definitions
[oweals/u-boot.git] / drivers / i2c / cros_ec_ldo.c
index b817c61f1c5bbc00d6bf7108dc277145964620f8..c593540ac1380d8d82e40470057a6ef01791f471 100644 (file)
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (c) 2015 Google, Inc
  * Written by Simon Glass <sjg@chromium.org>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -10,6 +9,7 @@
 #include <cros_ec.h>
 #include <errno.h>
 #include <i2c.h>
+#include <log.h>
 #include <power/tps65090.h>
 
 static int cros_ec_ldo_set_bus_speed(struct udevice *dev, unsigned int speed)
@@ -72,6 +72,5 @@ U_BOOT_DRIVER(cros_ec_ldo) = {
        .name   = "cros_ec_ldo_tunnel",
        .id     = UCLASS_I2C,
        .of_match = cros_ec_i2c_ids,
-       .per_child_auto_alloc_size = sizeof(struct dm_i2c_chip),
        .ops    = &cros_ec_i2c_ops,
 };