public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: OMAP2 McSPI code cleanup
@ 2007-08-17  7:48 Kyungmin Park
  2007-08-17 15:51 ` David Brownell
  0 siblings, 1 reply; 3+ messages in thread
From: Kyungmin Park @ 2007-08-17  7:48 UTC (permalink / raw)
  To: linux-omap-open-source

ARM: OMAP: OMAP2 McSPI code cleanup

Remove unused variable & write space

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
--
diff --git a/drivers/spi/omap2_mcspi.c b/drivers/spi/omap2_mcspi.c
index 6b357cd..3cdab13 100644
--- a/drivers/spi/omap2_mcspi.c
+++ b/drivers/spi/omap2_mcspi.c
@@ -645,7 +645,7 @@ static int omap2_mcspi_setup(struct spi_device *spi)
 
 	clk_enable(mcspi->ick);
 	clk_enable(mcspi->fck);
-	ret =  omap2_mcspi_setup_transfer(spi, NULL);
+	ret = omap2_mcspi_setup_transfer(spi, NULL);
 	clk_disable(mcspi->fck);
 	clk_disable(mcspi->ick);
 
@@ -693,7 +693,6 @@ static void omap2_mcspi_work(struct work_struct *work)
 		struct spi_device		*spi;
 		struct spi_transfer		*t = NULL;
 		int				cs_active = 0;
-		struct omap2_mcspi_device_config *conf;
 		struct omap2_mcspi_cs		*cs;
 		int				par_override = 0;
 		int				status = 0;
@@ -706,7 +705,6 @@ static void omap2_mcspi_work(struct work_struct *work)
 		spin_unlock_irq(&mcspi->lock);
 
 		spi = m->spi;
-		conf = spi->controller_data;
 		cs = spi->controller_state;
 
 		omap2_mcspi_set_enable(spi, 1);

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

* Re: [PATCH] ARM: OMAP: OMAP2 McSPI code cleanup
  2007-08-17  7:48 [PATCH] ARM: OMAP: OMAP2 McSPI code cleanup Kyungmin Park
@ 2007-08-17 15:51 ` David Brownell
  2007-08-22  7:10   ` Tony Lindgren
  0 siblings, 1 reply; 3+ messages in thread
From: David Brownell @ 2007-08-17 15:51 UTC (permalink / raw)
  To: kmpark; +Cc: linux-omap-open-source

On Friday 17 August 2007, you wrote:
> ARM: OMAP: OMAP2 McSPI code cleanup

SPI patches don't merge via the ARM or OMAP patch streams...

If you just send them for the OMAP tree they won't necessarily
go upstream unless the SPI maintainer happens to notice them.


> Remove unused variable & write space
> 
> ...

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

* Re: [PATCH] ARM: OMAP: OMAP2 McSPI code cleanup
  2007-08-17 15:51 ` David Brownell
@ 2007-08-22  7:10   ` Tony Lindgren
  0 siblings, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2007-08-22  7:10 UTC (permalink / raw)
  To: David Brownell; +Cc: linux-omap-open-source, kmpark

* David Brownell <david-b@pacbell.net> [070817 08:52]:
> On Friday 17 August 2007, you wrote:
> > ARM: OMAP: OMAP2 McSPI code cleanup
> 
> SPI patches don't merge via the ARM or OMAP patch streams...
> 
> If you just send them for the OMAP tree they won't necessarily
> go upstream unless the SPI maintainer happens to notice them.

Yeah, we must get more active in general on the lists with I2C,
MMC, framebuffer...

> > Remove unused variable & write space

I'll push this to linux-omap while waiting for this to trickle
down from the mainline kernel.

Tony

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

end of thread, other threads:[~2007-08-22  7:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-17  7:48 [PATCH] ARM: OMAP: OMAP2 McSPI code cleanup Kyungmin Park
2007-08-17 15:51 ` David Brownell
2007-08-22  7:10   ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox