i2c: designware: Change from u32 to unsigned int for regmap_read() calls
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Tue, 24 Jan 2023 11:47:32 +0000 (17:17 +0530)
committerWolfram Sang <wsa@kernel.org>
Sat, 28 Jan 2023 19:05:32 +0000 (20:05 +0100)
commit1c7c5fca523ed623ffc9718061b2773f9cecb4da
tree96345447751091c56aae25240c2acdda991be8df
parent60a1f9f28660657f863a3846a64b6c3cbb18f07d
i2c: designware: Change from u32 to unsigned int for regmap_read() calls

regmap_read() API signature expects the caller to send "unsigned int"
type to return back the read value, but there are some occurrences of 'u32'
across i2c-designware-* files.

Change them to match the regmap_read() signature.

Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-designware-common.c
drivers/i2c/busses/i2c-designware-core.h
drivers/i2c/busses/i2c-designware-master.c
drivers/i2c/busses/i2c-designware-slave.c