Commit 1e1769da authored by Macpaul Lin's avatar Macpaul Lin Committed by Greg Kroah-Hartman

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

Replace "unsigned" to "u32" for checkpatch fix to tusb_writeb().
Signed-off-by: default avatarMacpaul Lin <macpaul.lin@mediatek.com>
Signed-off-by: default avatarBin Liu <b-liu@ti.com>
Link: https://lore.kernel.org/r/20200316211136.2274-9-b-liu@ti.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 52974d94
...@@ -156,7 +156,7 @@ static u8 tusb_readb(void __iomem *addr, u32 offset) ...@@ -156,7 +156,7 @@ static u8 tusb_readb(void __iomem *addr, u32 offset)
return val; 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; u16 tmp;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment