All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] spi: spi-pxa2xx: Remove unused legacy PXA DMA API channel numbers
@ 2015-08-03 10:41 Jarkko Nikula
       [not found] ` <1438598472-1145-1-git-send-email-jarkko.nikula-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Jarkko Nikula @ 2015-08-03 10:41 UTC (permalink / raw)
  To: linux-spi-u79uwXL29TY76Z2rM5mHXA
  Cc: Mark Brown, Daniel Mack, Haojian Zhuang, Robert Jarzmik,
	Jarkko Nikula

These became unused by the commit 6356437e65c2
("spi: spi-pxa2xx: remove legacy PXA DMA bits").

Signed-off-by: Jarkko Nikula <jarkko.nikula-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
---
 drivers/spi/spi-pxa2xx.c | 2 --
 drivers/spi/spi-pxa2xx.h | 2 --
 2 files changed, 4 deletions(-)

diff --git a/drivers/spi/spi-pxa2xx.c b/drivers/spi/spi-pxa2xx.c
index 2c9fa409d2bf..e924710e126c 100644
--- a/drivers/spi/spi-pxa2xx.c
+++ b/drivers/spi/spi-pxa2xx.c
@@ -1475,8 +1475,6 @@ static int pxa2xx_spi_probe(struct platform_device *pdev)
 	}
 
 	/* Setup DMA if requested */
-	drv_data->tx_channel = -1;
-	drv_data->rx_channel = -1;
 	if (platform_info->enable_dma) {
 		status = pxa2xx_spi_dma_setup(drv_data);
 		if (status) {
diff --git a/drivers/spi/spi-pxa2xx.h b/drivers/spi/spi-pxa2xx.h
index 9f01e9c9aa75..3b69c46bfbc9 100644
--- a/drivers/spi/spi-pxa2xx.h
+++ b/drivers/spi/spi-pxa2xx.h
@@ -37,8 +37,6 @@ struct driver_data {
 	struct pxa2xx_spi_master *master_info;
 
 	/* PXA private DMA setup stuff */
-	int rx_channel;
-	int tx_channel;
 	u32 *null_dma_buf;
 
 	/* SSP register addresses */
-- 
2.4.6

--
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] 7+ messages in thread

end of thread, other threads:[~2015-08-05  9:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-03 10:41 [PATCH 1/2] spi: spi-pxa2xx: Remove unused legacy PXA DMA API channel numbers Jarkko Nikula
     [not found] ` <1438598472-1145-1-git-send-email-jarkko.nikula-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-08-03 10:41   ` [PATCH 2/2] spi: spi-pxa2xx: Remove unused legacy null dma buffer and allocation for it Jarkko Nikula
     [not found]     ` <1438598472-1145-2-git-send-email-jarkko.nikula-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-08-05  9:53       ` Applied "spi: spi-pxa2xx: Remove unused legacy null dma buffer and allocation for it" to the spi tree Mark Brown
2015-08-03 16:14   ` [PATCH 1/2] spi: spi-pxa2xx: Remove unused legacy PXA DMA API channel numbers Mark Brown
     [not found]     ` <20150803161413.GY20873-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-08-04  5:54       ` Jarkko Nikula
     [not found]         ` <55C05392.80905-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-08-04  9:50           ` Mark Brown
2015-08-03 16:14   ` Applied "spi: spi-pxa2xx: Remove unused legacy PXA DMA API channel numbers" to the spi tree Mark Brown

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.