[U-Boot] [PATCH 1/2] i2c: Drop redundant platform data setting in drivers

Bin Meng bmeng.cn at gmail.com
Sun Aug 7 08:52:10 CEST 2016


On Sat, Aug 6, 2016 at 11:35 AM, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>
> ---
>
>  drivers/i2c/cros_ec_ldo.c          | 1 -
>  drivers/i2c/cros_ec_tunnel.c       | 1 -
>  drivers/i2c/intel_i2c.c            | 1 -
>  drivers/i2c/muxes/i2c-mux-uclass.c | 1 -
>  drivers/i2c/s3c24x0_i2c.c          | 2 --
>  5 files changed, 6 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list