From: Alexander Aring Date: Thu, 24 Apr 2014 17:09:16 +0000 (+0200) Subject: at86rf230: remove unnecessary spi_set_drvdata X-Git-Tag: v3.16-rc1~27^2~321^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=57e48ffce90aa6105f2fe032336b6d7e86bec5af;p=platform%2Fkernel%2Flinux-exynos.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 994c334..67c01bf 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);