diff options
author | Macpaul Lin <macpaul.lin@mediatek.com> | 2020-03-16 16:11:36 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-17 20:03:28 +0100 |
commit | 1e1769daeeed5d927738ba54c75041b0ddd78347 (patch) | |
tree | 50c8903ce9378af75c72331a7352640e697c4bce /drivers/usb/musb/tusb6010.c | |
parent | 52974d94a206ce428d9d9b6eaa208238024be82a (diff) | |
download | linux-stable-1e1769daeeed5d927738ba54c75041b0ddd78347.tar.gz linux-stable-1e1769daeeed5d927738ba54c75041b0ddd78347.tar.bz2 linux-stable-1e1769daeeed5d927738ba54c75041b0ddd78347.zip |
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>
Diffstat (limited to 'drivers/usb/musb/tusb6010.c')
-rw-r--r-- | drivers/usb/musb/tusb6010.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |