[PATCH] bus: bt1-axi: Change from u32 to unsigned int for regmap_read() calls

From: Yann Sionneau
Date: Wed Aug 16 2023 - 06:18:38 EST


regmap_read() API signature expects the caller to send "unsigned int"
type to return back the read value.
Change the two calls to match the regmap_read() signature.

Signed-off-by: Yann Sionneau <yann@xxxxxxxxxxxx>
---
drivers/bus/bt1-axi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bus/bt1-axi.c b/drivers/bus/bt1-axi.c
index 4007e7322cf2..80a76f26b4c3 100644
--- a/drivers/bus/bt1-axi.c
+++ b/drivers/bus/bt1-axi.c
@@ -58,7 +58,7 @@ struct bt1_axi {
static irqreturn_t bt1_axi_isr(int irq, void *data)
{
struct bt1_axi *axi = data;
- u32 low = 0, high = 0;
+ unsigned int low = 0, high = 0;

regmap_read(axi->sys_regs, BT1_AXI_WERRL, &low);
regmap_read(axi->sys_regs, BT1_AXI_WERRH, &high);

base-commit: 2ccdd1b13c591d306f0401d98dedc4bdcd02b421
--
2.34.1