]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
i2c: Drop redundant platform data setting in drivers
authorSimon Glass <sjg@chromium.org>
Sat, 6 Aug 2016 03:35:27 +0000 (21:35 -0600)
committerHeiko Schocher <hs@denx.de>
Fri, 12 Aug 2016 04:41:41 +0000 (06:41 +0200)
commit2651a052d8ab13a8609c51053ba0f693f1be3295
tree02d41e1033ca03b62367d47942f3e89858057734
parent28cd88baa3f11cdb52be3b6d0610dcf32c60871a
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>
drivers/i2c/cros_ec_ldo.c
drivers/i2c/cros_ec_tunnel.c
drivers/i2c/intel_i2c.c
drivers/i2c/muxes/i2c-mux-uclass.c
drivers/i2c/s3c24x0_i2c.c