From: Alexander Aring Date: Thu, 24 Apr 2014 17:09:16 +0000 (+0200) Subject: at86rf230: remove unnecessary spi_set_drvdata X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=57e48ffce90aa6105f2fe032336b6d7e86bec5af;p=deliverable%2Flinux.git at86rf230: remove unnecessary spi_set_drvdata Signed-off-by: Alexander Aring Signed-off-by: David S. Miller --- 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);