Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8c88ab04 authored by Wolfram Sang's avatar Wolfram Sang Committed by Wolfram Sang
Browse files

i2c: imx: make bitrate an u32 type



sparse found this assignment of u32 to an int. Fix it:

drivers/i2c/busses/i2c-imx.c:540:56: warning: incorrect type in argument 3 (different signedness)

and also fix the type in platform_data. All current users use values
which fit into the old and new type, so it is a safe change.

Signed-off-by: default avatarWolfram Sang <wolfram@the-dreams.de>
Reviewed-by: default avatarRichard Zhao <richard.zhao@freescale.com>
Acked-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent 1f09c672
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment