diff options
author | Shyam Sundar S K <Shyam-sundar.S-k@amd.com> | 2023-01-24 17:17:32 +0530 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2023-01-28 20:05:32 +0100 |
commit | 1c7c5fca523ed623ffc9718061b2773f9cecb4da (patch) | |
tree | 96345447751091c56aae25240c2acdda991be8df /drivers/i2c/busses/i2c-designware-core.h | |
parent | 60a1f9f28660657f863a3846a64b6c3cbb18f07d (diff) |
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>
Diffstat (limited to 'drivers/i2c/busses/i2c-designware-core.h')
-rw-r--r-- | drivers/i2c/busses/i2c-designware-core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-designware-core.h b/drivers/i2c/busses/i2c-designware-core.h index 932395ddd42b..050d8c63ad3c 100644 --- a/drivers/i2c/busses/i2c-designware-core.h +++ b/drivers/i2c/busses/i2c-designware-core.h @@ -265,7 +265,7 @@ struct dw_i2c_dev { u8 *rx_buf; int msg_err; unsigned int status; - u32 abort_source; + unsigned int abort_source; int irq; u32 flags; struct i2c_adapter adapter; |