[PATCH v2 19/19] i2c: Update drivers to use enum for speed

Heiko Schocher hs at denx.de
Thu Jan 16 08:08:07 CET 2020


Hello Simon,

Am 03.01.2020 um 23:26 schrieb Simon Glass:
> Convert the obvious uses of i2c bus speeds to use the enum.
> 
> Use livetree access for code changes.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
> Changes in v2: None
> 
>   drivers/i2c/exynos_hs_i2c.c  |  4 ++--
>   drivers/i2c/fsl_i2c.c        |  3 ++-
>   drivers/i2c/i2c-cdns.c       |  2 +-
>   drivers/i2c/i2c-uclass.c     | 12 ++++++------
>   drivers/i2c/i2c-uniphier-f.c |  2 +-
>   drivers/i2c/i2c-uniphier.c   |  2 +-
>   drivers/i2c/imx_lpi2c.c      |  8 ++++----
>   drivers/i2c/mv_i2c.c         |  4 ++--
>   drivers/i2c/mvtwsi.c         |  5 +++--
>   drivers/i2c/omap24xx_i2c.c   |  3 ++-
>   drivers/i2c/rcar_i2c.c       |  2 +-
>   drivers/i2c/rcar_iic.c       |  2 +-
>   drivers/i2c/s3c24x0_i2c.c    |  4 ++--
>   drivers/i2c/sandbox_i2c.c    |  3 ++-
>   14 files changed, 30 insertions(+), 26 deletions(-)

Reviewed-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list