* [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
* [PATCH 2/4] spi: falcon: Remove unnecessary platform_set_drvdata()
[not found] ` <1401891429-14271-1-git-send-email-shc_work-JGs/UdohzUI@public.gmane.org>
@ 2014-06-04 14:17 ` Alexander Shiyan
2014-06-04 14:17 ` [PATCH 3/4] spi: omap-100k: " Alexander Shiyan
` (2 subsequent siblings)
3 siblings, 0 replies; 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-falcon.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/spi/spi-falcon.c b/drivers/spi/spi-falcon.c
index ba441ad..f73b300 100644
--- a/drivers/spi/spi-falcon.c
+++ b/drivers/spi/spi-falcon.c
@@ -425,8 +425,6 @@ static int falcon_sflash_probe(struct platform_device *pdev)
master->unprepare_transfer_hardware = falcon_sflash_unprepare_xfer;
master->dev.of_node = pdev->dev.of_node;
- platform_set_drvdata(pdev, priv);
-
ret = devm_spi_register_master(&pdev->dev, master);
if (ret)
spi_master_put(master);
--
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
* [PATCH 3/4] spi: omap-100k: Remove unnecessary platform_set_drvdata()
[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 ` 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
3 siblings, 0 replies; 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-omap-100k.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/spi/spi-omap-100k.c b/drivers/spi/spi-omap-100k.c
index e7ffcde..5e91858 100644
--- a/drivers/spi/spi-omap-100k.c
+++ b/drivers/spi/spi-omap-100k.c
@@ -420,8 +420,6 @@ static int omap1_spi100k_probe(struct platform_device *pdev)
master->min_speed_hz = OMAP1_SPI100K_MAX_FREQ/(1<<16);
master->max_speed_hz = OMAP1_SPI100K_MAX_FREQ;
- platform_set_drvdata(pdev, master);
-
spi100k = spi_master_get_devdata(master);
/*
--
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
* [PATCH 4/4] spi: sh-msiof: Remove unnecessary platform_set_drvdata()
[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 ` Alexander Shiyan
2014-06-06 10:14 ` [PATCH 1/4] spi: clps711x: " Mark Brown
3 siblings, 0 replies; 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-sh-msiof.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/spi/spi-sh-msiof.c b/drivers/spi/spi-sh-msiof.c
index 45b0914..83c4370 100644
--- a/drivers/spi/spi-sh-msiof.c
+++ b/drivers/spi/spi-sh-msiof.c
@@ -680,8 +680,6 @@ static int sh_msiof_spi_probe(struct platform_device *pdev)
p = spi_master_get_devdata(master);
- platform_set_drvdata(pdev, p);
-
of_id = of_match_device(sh_msiof_match, &pdev->dev);
if (of_id) {
p->chipdata = of_id->data;
--
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
* Re: [PATCH 1/4] spi: clps711x: Remove unnecessary platform_set_drvdata()
[not found] ` <1401891429-14271-1-git-send-email-shc_work-JGs/UdohzUI@public.gmane.org>
` (2 preceding siblings ...)
2014-06-04 14:17 ` [PATCH 4/4] spi: sh-msiof: " Alexander Shiyan
@ 2014-06-06 10:14 ` Mark Brown
3 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2014-06-06 10:14 UTC (permalink / raw)
To: Alexander Shiyan; +Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 179 bytes --]
On Wed, Jun 04, 2014 at 06:17:06PM +0400, Alexander Shiyan wrote:
> Drop call to platform_set_drvdata() as driver data is not used
> anywhere in the driver.
Applied all, thanks.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [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.