Skip to contentSkip to conversation

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

PATCH New Yann Sionneau 1 participant 1 message Aug 16, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bus: bt1-axi: 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.
Change the two calls to match the regmap_read() signature.

---
 drivers/bus/bt1-axi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bus/bt1-axi.c +1 -1
index 4007e7322cf2..80a76f26b4c3 100644
@@ -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

Signature · 1 line
2.34.1