mirror of https://gitee.com/openkylin/linux.git
spi: atmel-quadspi: remove unnecessary cast
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>
This commit is contained in:
parent
1db6de22b2
commit
9ce4c5128b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue