mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-03 19:24:02 +08:00
usb: musb: tusb6010: fix a possible missing data type replacement
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> Link: https://lore.kernel.org/r/20200316211136.2274-9-b-liu@ti.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
52974d94a2
commit
1e1769daee
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user