projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1db6de2
)
spi: atmel-quadspi: remove unnecessary cast
author
Tudor Ambarus
<tudor.ambarus@microchip.com>
Tue, 5 Feb 2019 17:33:17 +0000
(17:33 +0000)
committer
Mark Brown
<broonie@kernel.org>
Wed, 6 Feb 2019 17:19:06 +0000
(17:19 +0000)
The cast is done implicitly.
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Boris Brezillon <bbrezillon@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/atmel-quadspi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/atmel-quadspi.c
b/drivers/spi/atmel-quadspi.c
index
be1d1ba
..
be7f87f
100644
(file)
--- a/
drivers/spi/atmel-quadspi.c
+++ b/
drivers/spi/atmel-quadspi.c
@@
-389,7
+389,7
@@
static int atmel_qspi_init(struct atmel_qspi *aq)
static irqreturn_t atmel_qspi_interrupt(int irq, void *dev_id)
{
- struct atmel_qspi *aq =
(struct atmel_qspi *)
dev_id;
+ struct atmel_qspi *aq = dev_id;
u32 status, mask, pending;
status = readl_relaxed(aq->regs + QSPI_SR);