All of
 help / color / mirror / Atom feed
From: Alexander Shiyan <shc_work-JGs/>
Cc: Mark Brown <>,
	Alexander Shiyan <shc_work-JGs/>
Subject: [PATCH 2/4] spi: falcon: Remove unnecessary platform_set_drvdata()
Date: Wed,  4 Jun 2014 18:17:07 +0400	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <1401891429-14271-1-git-send-email-shc_work-JGs/>

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

Signed-off-by: Alexander Shiyan <shc_work-JGs/>
 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)

To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to
More majordomo info at

  parent reply	other threads:[~2014-06-04 14:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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/>
2014-06-04 14:17   ` Alexander Shiyan [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \
    --to=shc_work-jgs/ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.