Skip to content

Commit

Permalink
usb: musb: tusb6010: fix a possible missing data type replacement
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Macpaul Lin authored and Greg Kroah-Hartman committed Mar 17, 2020
1 parent 52974d9 commit 1e1769d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/musb/tusb6010.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 1e1769d

Please sign in to comment.