All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] spi: clps711x: Remove unnecessary platform_set_drvdata()
@ 2014-06-04 14:17 Alexander Shiyan
       [not found] ` <1401891429-14271-1-git-send-email-shc_work-JGs/UdohzUI@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Shiyan @ 2014-06-04 14:17 UTC (permalink / raw)
  To: linux-spi-u79uwXL29TY76Z2rM5mHXA; +Cc: Mark Brown, Alexander Shiyan

Drop call to platform_set_drvdata() as driver data is not used
anywhere in the driver.

Signed-off-by: Alexander Shiyan <shc_work-JGs/UdohzUI@public.gmane.org>
---
 drivers/spi/spi-clps711x.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/spi/spi-clps711x.c b/drivers/spi/spi-clps711x.c
index 4cd62f6..ce538da 100644
--- a/drivers/spi/spi-clps711x.c
+++ b/drivers/spi/spi-clps711x.c
@@ -184,8 +184,6 @@ static int spi_clps711x_probe(struct platform_device *pdev)
 	}
 	master->max_speed_hz = clk_get_rate(hw->spi_clk);
 
-	platform_set_drvdata(pdev, master);
-
 	hw->syscon = syscon_regmap_lookup_by_pdevname("syscon.3");
 	if (IS_ERR(hw->syscon)) {
 		ret = PTR_ERR(hw->syscon);
-- 
1.8.5.5

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-06 10:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-04 14:17 [PATCH 1/4] spi: clps711x: Remove unnecessary platform_set_drvdata() Alexander Shiyan
     [not found] ` <1401891429-14271-1-git-send-email-shc_work-JGs/UdohzUI@public.gmane.org>
2014-06-04 14:17   ` [PATCH 2/4] spi: falcon: " Alexander Shiyan
2014-06-04 14:17   ` [PATCH 3/4] spi: omap-100k: " Alexander Shiyan
2014-06-04 14:17   ` [PATCH 4/4] spi: sh-msiof: " Alexander Shiyan
2014-06-06 10:14   ` [PATCH 1/4] spi: clps711x: " Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.