diff options
author | Simon Glass <sjg@chromium.org> | 2016-08-05 21:35:27 -0600 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2016-08-12 06:41:41 +0200 |
commit | 2651a052d8ab13a8609c51053ba0f693f1be3295 (patch) | |
tree | 02d41e1033ca03b62367d47942f3e89858057734 /drivers/i2c/muxes/i2c-mux-uclass.c | |
parent | 28cd88baa3f11cdb52be3b6d0610dcf32c60871a (diff) |
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 <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/i2c/muxes/i2c-mux-uclass.c')
-rw-r--r-- | drivers/i2c/muxes/i2c-mux-uclass.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/muxes/i2c-mux-uclass.c b/drivers/i2c/muxes/i2c-mux-uclass.c index 3f52bff2fb..7a698b62b5 100644 --- a/drivers/i2c/muxes/i2c-mux-uclass.c +++ b/drivers/i2c/muxes/i2c-mux-uclass.c @@ -183,7 +183,6 @@ static const struct dm_i2c_ops i2c_mux_bus_ops = { U_BOOT_DRIVER(i2c_mux_bus) = { .name = "i2c_mux_bus_drv", .id = UCLASS_I2C, - .per_child_auto_alloc_size = sizeof(struct dm_i2c_chip), .ops = &i2c_mux_bus_ops, }; |