Commit 9ce4c512 authored by Tudor Ambarus's avatar Tudor Ambarus Committed by Mark Brown

spi: atmel-quadspi: remove unnecessary cast

The cast is done implicitly.
Signed-off-by: default avatarTudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: default avatarBoris Brezillon <bbrezillon@kernel.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1db6de22
...@@ -389,7 +389,7 @@ static int atmel_qspi_init(struct atmel_qspi *aq) ...@@ -389,7 +389,7 @@ static int atmel_qspi_init(struct atmel_qspi *aq)
static irqreturn_t atmel_qspi_interrupt(int irq, void *dev_id) 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; u32 status, mask, pending;
status = readl_relaxed(aq->regs + QSPI_SR); status = readl_relaxed(aq->regs + QSPI_SR);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment