]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: Update drivers to use enum for speed
authorSimon Glass <sjg@chromium.org>
Thu, 23 Jan 2020 18:48:22 +0000 (11:48 -0700)
committerHeiko Schocher <hs@denx.de>
Mon, 27 Jan 2020 06:24:02 +0000 (07:24 +0100)
commitf3d461521a8ef6540dbcb2314802eae5790a9408
treece6d8f74e77beb84779c63718de19065f7d1a25d
parentb0a22d0fa9507baa8b3782b392471df94974d831
i2c: Update drivers to use enum for speed

Convert the obvious uses of i2c bus speeds to use the enum.

Use livetree access for code changes.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
14 files changed:
drivers/i2c/exynos_hs_i2c.c
drivers/i2c/fsl_i2c.c
drivers/i2c/i2c-cdns.c
drivers/i2c/i2c-uclass.c
drivers/i2c/i2c-uniphier-f.c
drivers/i2c/i2c-uniphier.c
drivers/i2c/imx_lpi2c.c
drivers/i2c/mv_i2c.c
drivers/i2c/mvtwsi.c
drivers/i2c/omap24xx_i2c.c
drivers/i2c/rcar_i2c.c
drivers/i2c/rcar_iic.c
drivers/i2c/s3c24x0_i2c.c
drivers/i2c/sandbox_i2c.c