projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e95b23
)
spi: bcm2835aux: use 'unsigned int' instead of 'unsigned'
author
Jason Wang
<wangborong@cdjrlc.com>
Sat, 31 Jul 2021 13:33:42 +0000
(21:33 +0800)
committer
Mark Brown
<broonie@kernel.org>
Tue, 3 Aug 2021 17:27:25 +0000
(18:27 +0100)
Prefer 'unsigned int' to bare use of 'unsigned'.
Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
Link:
https://lore.kernel.org/r/20210731133342.432575-1-wangborong@cdjrlc.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-bcm2835aux.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-bcm2835aux.c
b/drivers/spi/spi-bcm2835aux.c
index 37eab100a7d8a928c7917b2220a5945c0223fee2..7d709a8c833bb6b8e33562fe079dd50b35fcc152 100644
(file)
--- a/
drivers/spi/spi-bcm2835aux.c
+++ b/
drivers/spi/spi-bcm2835aux.c
@@
-143,12
+143,12
@@
static void bcm2835aux_debugfs_remove(struct bcm2835aux_spi *bs)
}
#endif /* CONFIG_DEBUG_FS */
-static inline u32 bcm2835aux_rd(struct bcm2835aux_spi *bs, unsigned reg)
+static inline u32 bcm2835aux_rd(struct bcm2835aux_spi *bs, unsigned
int
reg)
{
return readl(bs->regs + reg);
}
-static inline void bcm2835aux_wr(struct bcm2835aux_spi *bs, unsigned reg,
+static inline void bcm2835aux_wr(struct bcm2835aux_spi *bs, unsigned
int
reg,
u32 val)
{
writel(val, bs->regs + reg);