mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -mm] Blackfin: spi driver fix reboot kernel mounting spi flash print error bug
@ 2007-03-26 10:14 Wu, Bryan
  0 siblings, 0 replies; only message in thread
From: Wu, Bryan @ 2007-03-26 10:14 UTC (permalink / raw)
  To: dbrownell, Andrew Morton, linux-kernel

Hi folks,

This patch fix a printing error bug when reboot kernel mounting on SPI
flash.

Signed-off-by: Bryan Wu <bryan.wu@analog.com> 
---

 drivers/spi/spi_bfin5xx.c |    9 ---------
 1 file changed, 9 deletions(-)

Index: linux-2.6/drivers/spi/spi_bfin5xx.c
===================================================================
--- linux-2.6.orig/drivers/spi/spi_bfin5xx.c
+++ linux-2.6/drivers/spi/spi_bfin5xx.c
@@ -1167,14 +1167,6 @@
 	return 0;
 }
 
-static void bfin5xx_spi_shutdown(struct platform_device *pdev)
-{
-	int status = 0;
-
-	if ((status = bfin5xx_spi_remove(pdev)) != 0)
-		dev_err(&pdev->dev, "shutdown failed with %d\n", status);
-}
-
 /* PM, do nothing now */
 #ifdef CONFIG_PM
 static int suspend_devices(struct device *dev, void *pm_message)
@@ -1242,7 +1234,6 @@
 	},
 	.probe = bfin5xx_spi_probe,
 	.remove = __devexit_p(bfin5xx_spi_remove),
-	.shutdown = bfin5xx_spi_shutdown,
 	.suspend = bfin5xx_spi_suspend,
 	.resume = bfin5xx_spi_resume,
 };
_

Thanks,
-Bryan Wu

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-26 10:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-26 10:14 [PATCH -mm] Blackfin: spi driver fix reboot kernel mounting spi flash print error bug Wu, Bryan

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

all inboxes | Powered by JetHome®