From 2651a052d8ab13a8609c51053ba0f693f1be3295 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 5 Aug 2016 21:35:27 -0600 Subject: i2c: Drop redundant platform data setting in drivers The i2c uclass has a default setting for per_child_platdata_auto_alloc_size so drivers do not need to set it. Remove this from drivers to avoid confusion. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- drivers/i2c/cros_ec_ldo.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/i2c/cros_ec_ldo.c') diff --git a/drivers/i2c/cros_ec_ldo.c b/drivers/i2c/cros_ec_ldo.c index b817c61..a4cd660 100644 --- a/drivers/i2c/cros_ec_ldo.c +++ b/drivers/i2c/cros_ec_ldo.c @@ -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, }; -- cgit v1.1