Commit 90566363 authored by Alexander Aring's avatar Alexander Aring Committed by Marcel Holtmann

at86rf230: squash unnecessary dereferencing

This patch removes dereferencing irq number over spi struct. Instead we
doing it directly over isr paramater.
Signed-off-by: default avatarAlexander Aring <alex.aring@gmail.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 7ad38b8f
...@@ -904,7 +904,7 @@ static irqreturn_t at86rf230_isr(int irq, void *data) ...@@ -904,7 +904,7 @@ static irqreturn_t at86rf230_isr(int irq, void *data)
u8 *buf = ctx->buf; u8 *buf = ctx->buf;
int rc; int rc;
disable_irq_nosync(lp->spi->irq); disable_irq_nosync(irq);
buf[0] = (RG_IRQ_STATUS & CMD_REG_MASK) | CMD_REG; buf[0] = (RG_IRQ_STATUS & CMD_REG_MASK) | CMD_REG;
ctx->trx.len = 2; ctx->trx.len = 2;
......
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