diff mbox series

[8/8] usb: musb: tusb6010: fix a possible missing data type replacement

Message ID 20200316211136.2274-9-b-liu@ti.com (mailing list archive)
State Mainlined
Commit 1e1769daeeed5d927738ba54c75041b0ddd78347
Headers show
Series musb patches for v5.7-rc1 | expand

Commit Message

Bin Liu March 16, 2020, 9:11 p.m. UTC
From: Macpaul Lin <macpaul.lin@mediatek.com>

Replace "unsigned" to "u32" for checkpatch fix to tusb_writeb().

Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
---
 drivers/usb/musb/tusb6010.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/usb/musb/tusb6010.c b/drivers/usb/musb/tusb6010.c
index 5d449089e3ad..99890d1bbfcb 100644
--- a/drivers/usb/musb/tusb6010.c
+++ b/drivers/usb/musb/tusb6010.c
@@ -156,7 +156,7 @@  static u8 tusb_readb(void __iomem *addr, u32 offset)
 	return val;
 }
 
-static void tusb_writeb(void __iomem *addr, unsigned offset, u8 data)
+static void tusb_writeb(void __iomem *addr, u32 offset, u8 data)
 {
 	u16 tmp;