diff mbox series

usb: musb: tusb6010: fix a possible missing data type replacement

Message ID 1579603670-10970-1-git-send-email-macpaul.lin@mediatek.com (mailing list archive)
State New, archived
Headers show
Series usb: musb: tusb6010: fix a possible missing data type replacement | expand

Commit Message

Macpaul Lin Jan. 21, 2020, 10:47 a.m. UTC
Replace "unsigned" to "u32" for checkpatch fix to tusb_writeb().

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

Comments

Bin Liu March 9, 2020, 5:26 p.m. UTC | #1
On Tue, Jan 21, 2020 at 06:47:50PM +0800, Macpaul Lin wrote:
> Replace "unsigned" to "u32" for checkpatch fix to tusb_writeb().
> 
> Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>

Queued for v5.7. Thanks.
-Bin.
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;