summaryrefslogtreecommitdiffstats
path: root/drivers/net/ieee802154
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-10-07 10:38:29 +0200
committerMarcel Holtmann <marcel@holtmann.org>2014-10-25 07:56:23 +0200
commit90566363b5f5e7660a2cfd9b8e70ccf51a1dbc44 (patch)
tree10b8379d519eda071a6e15586d8bd7e1e2efaab0 /drivers/net/ieee802154
parent7ad38b8fbfeeaeddc3d89ba47f8de0ccbbcb1b67 (diff)
downloadop-kernel-dev-90566363b5f5e7660a2cfd9b8e70ccf51a1dbc44.zip
op-kernel-dev-90566363b5f5e7660a2cfd9b8e70ccf51a1dbc44.tar.gz
at86rf230: squash unnecessary dereferencing
This patch removes dereferencing irq number over spi struct. Instead we doing it directly over isr paramater. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/net/ieee802154')
-rw-r--r--drivers/net/ieee802154/at86rf230.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c
index b26135f..09503fb 100644
--- a/drivers/net/ieee802154/at86rf230.c
+++ b/drivers/net/ieee802154/at86rf230.c
@@ -904,7 +904,7 @@ static irqreturn_t at86rf230_isr(int irq, void *data)
u8 *buf = ctx->buf;
int rc;
- disable_irq_nosync(lp->spi->irq);
+ disable_irq_nosync(irq);
buf[0] = (RG_IRQ_STATUS & CMD_REG_MASK) | CMD_REG;
ctx->trx.len = 2;
OpenPOWER on IntegriCloud