diff mbox

[1/3] spi: spi-nuc900: Remove redundant platform_set_drvdata()

Message ID 1369987148-22970-1-git-send-email-sachin.kamat@linaro.org
State Accepted
Headers show

Commit Message

Sachin Kamat May 31, 2013, 7:59 a.m. UTC
Setting platform data to NULL is not necessary.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Wan ZongShun <mcuos.com@gmail.com>
---
 drivers/spi/spi-nuc900.c |    2 --
 1 file changed, 2 deletions(-)

Comments

Mark Brown June 1, 2013, 7:18 p.m. UTC | #1
On Fri, May 31, 2013 at 01:29:06PM +0530, Sachin Kamat wrote:
> Setting platform data to NULL is not necessary.

Applied, thanks.
Sachin Kamat June 6, 2013, 10:51 a.m. UTC | #2
On 2 June 2013 00:48, Mark Brown <broonie@kernel.org> wrote:
> On Fri, May 31, 2013 at 01:29:06PM +0530, Sachin Kamat wrote:
>> Setting platform data to NULL is not necessary.
>
> Applied, thanks.

Looks like instead of $Subject patch, "spi: spi-fsl-lib: Make
mpc8xxx_spi_work static" has been applied to
your topic/nuc900 branch (as well as to topic/fsl branch).
Mark Brown June 6, 2013, 10:57 a.m. UTC | #3
On Thu, Jun 06, 2013 at 04:21:39PM +0530, Sachin Kamat wrote:

> Looks like instead of $Subject patch, "spi: spi-fsl-lib: Make
> mpc8xxx_spi_work static" has been applied to
> your topic/nuc900 branch (as well as to topic/fsl branch).

I'm not seeing any duplicaetd patches from you in -next.
Sachin Kamat June 6, 2013, 11:04 a.m. UTC | #4
On 6 June 2013 16:27, Mark Brown <broonie@kernel.org> wrote:
> On Thu, Jun 06, 2013 at 04:21:39PM +0530, Sachin Kamat wrote:
>
>> Looks like instead of $Subject patch, "spi: spi-fsl-lib: Make
>> mpc8xxx_spi_work static" has been applied to
>> your topic/nuc900 branch (as well as to topic/fsl branch).
>
> I'm not seeing any duplicaetd patches from you in -next.

Commits 	d0864323 and e48d29925 both are "spi: spi-fsl-lib: Make
mpc8xxx_spi_work static".
Mark Brown June 6, 2013, 11:15 a.m. UTC | #5
On Thu, Jun 06, 2013 at 04:34:44PM +0530, Sachin Kamat wrote:
> On 6 June 2013 16:27, Mark Brown <broonie@kernel.org> wrote:

> > I'm not seeing any duplicaetd patches from you in -next.

> Commits 	d0864323 and e48d29925 both are "spi: spi-fsl-lib: Make
> mpc8xxx_spi_work static".

Doesn't matter anyway, I rebased and repushed the nuc900 branch.
Sachin Kamat June 6, 2013, 11:33 a.m. UTC | #6
On 6 June 2013 16:45, Mark Brown <broonie@kernel.org> wrote:
> On Thu, Jun 06, 2013 at 04:34:44PM +0530, Sachin Kamat wrote:
>> On 6 June 2013 16:27, Mark Brown <broonie@kernel.org> wrote:
>
>> > I'm not seeing any duplicaetd patches from you in -next.
>
>> Commits       d0864323 and e48d29925 both are "spi: spi-fsl-lib: Make
>> mpc8xxx_spi_work static".
>
> Doesn't matter anyway, I rebased and repushed the nuc900 branch.

OK. Thanks.
diff mbox

Patch

diff --git a/drivers/spi/spi-nuc900.c b/drivers/spi/spi-nuc900.c
index 94efa2c..2ad3d74 100644
--- a/drivers/spi/spi-nuc900.c
+++ b/drivers/spi/spi-nuc900.c
@@ -446,8 +446,6 @@  static int nuc900_spi_remove(struct platform_device *dev)
 
 	free_irq(hw->irq, hw);
 
-	platform_set_drvdata(dev, NULL);
-
 	spi_bitbang_stop(&hw->bitbang);
 
 	clk_disable(hw->clk);