linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/6] spi: bcm2835: remove dependency on handle_err which is
@ 2015-03-29 14:03 Martin Sperl
       [not found] ` <72441EEF-C509-433B-9DBA-53A936ED5BDB-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Sperl @ 2015-03-29 14:03 UTC (permalink / raw)
  To: Mark Brown, Stephen Warren, lee-DgEjT+Ai2ygdnm+yROfE0A,
	linux-spi-u79uwXL29TY76Z2rM5mHXA, linux-rpi-kernel

 in spi-for-next

Remove the implementation of handle_err, the function of which was introduced to
spi-for-next with patch b716c4ff 

Signed-off-by: Martin Sperl <kernel-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
Tested-by: Martin Sperl <kernel-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
---
 drivers/spi/spi-bcm2835.c |    7 -------
 1 file changed, 7 deletions(-)

Applies against spi - topic/bcm2835

diff --git a/drivers/spi/spi-bcm2835.c b/drivers/spi/spi-bcm2835.c
index 0dbe544..552a633 100644
--- a/drivers/spi/spi-bcm2835.c
+++ b/drivers/spi/spi-bcm2835.c
@@ -216,12 +216,6 @@ static int bcm2835_spi_transfer_one(struct spi_master *master,
 	return 1;
 }
 
-static void bcm2835_spi_handle_err(struct spi_master *master,
-				   struct spi_message *msg)
-{
-	bcm2835_spi_reset_hw(master);
-}
-
 static void bcm2835_spi_set_cs(struct spi_device *spi, bool gpio_level)
 {
 	/*
@@ -315,7 +309,6 @@ static int bcm2835_spi_probe(struct platform_device *pdev)
 	master->setup = bcm2835_spi_setup;
 	master->set_cs = bcm2835_spi_set_cs;
 	master->transfer_one = bcm2835_spi_transfer_one;
-	master->handle_err = bcm2835_spi_handle_err;
 	master->dev.of_node = pdev->dev.of_node;
 
 	bs = spi_master_get_devdata(master);
-- 
1.7.10.4

--
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

end of thread, other threads:[~2015-03-31  3:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-29 14:03 [PATCH 1/6] spi: bcm2835: remove dependency on handle_err which is Martin Sperl
     [not found] ` <72441EEF-C509-433B-9DBA-53A936ED5BDB-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
2015-03-29 16:48   ` Mark Brown
     [not found]     ` <20150329164818.GO1743-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-03-29 17:03       ` Martin Sperl
     [not found]         ` <119C0671-7379-483A-B734-441E6354633E-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
2015-03-29 18:21           ` Mark Brown
2015-03-31  3:13       ` Stephen Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).