summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-04-24 21:09:16 +0400
committerDavid S. Miller <davem@davemloft.net>2014-04-26 20:20:34 +0400
commit57e48ffce90aa6105f2fe032336b6d7e86bec5af (patch)
tree5620cec58d6ac09fbc8c7625db69bf75e5f8b5f2 /drivers
parent196269464d4ab950a40c7ac3dac266773aa78b8c (diff)
downloadlinux-57e48ffce90aa6105f2fe032336b6d7e86bec5af.tar.xz
at86rf230: remove unnecessary spi_set_drvdata
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ieee802154/at86rf230.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c
index 994c334fb4f4..67c01bf1421e 100644
--- a/drivers/net/ieee802154/at86rf230.c
+++ b/drivers/net/ieee802154/at86rf230.c
@@ -1190,7 +1190,6 @@ static int at86rf230_probe(struct spi_device *spi)
err_hw_init:
flush_work(&lp->irqwork);
- spi_set_drvdata(spi, NULL);
mutex_destroy(&lp->bmux);
ieee802154_free_device(lp->dev);