dmaengine: pl330: remove pdata based initialization
Subsystems (4)
A message that is not in the archive (sent off-list or not yet received): CGME20170327053114eucas1p2f87c67ff869181cd288a99ceff9c7e1c@eucas1p2.samsung.com
PATCH RESEND 1/1 dmaengine: pl330: remove pdata based initialization
This driver is now used only on platforms which support device tree, so it is safe to remove legacy platform data based initialization code.
For plat-samsung:
---
This was earlier a part of "[PATCH v8 0/3] DMA Engine: switch PL330 driver to non-irq-safe runtime PM" patchset, but it is independent from the other patches in that patchset and can be applied separately.
--- arch/arm/plat-samsung/devs.c | 1 - drivers/dma/pl330.c | 42 ++++++++---------------------------------- include/linux/amba/pl330.h | 35 ----------------------------------- 3 files changed, 8 insertions(+), 70 deletions(-) delete mode 100644 include/linux/amba/pl330.h
arch/arm/plat-samsung/devs.c +0 -1
@@ -10,7 +10,6 @@* published by the Free Software Foundation. */ -#include <linux/amba/pl330.h> #include <linux/kernel.h> #include <linux/types.h> #include <linux/interrupt.h>
drivers/dma/pl330.c +8 -34
91 lines not on this page · raw message
include/linux/amba/pl330.h deleted +0 -35
@@ -1,35 +0,0 @@ -/* linux/include/linux/amba/pl330.h -* -* Copyright (C) 2010 Samsung Electronics Co. Ltd. -* Jaswinder Singh <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -*/ - -#ifndef __AMBA_PL330_H_ -#define __AMBA_PL330_H_ - -#include <linux/dmaengine.h> - -struct dma_pl330_platdata { -/* -* Number of valid peripherals connected to DMAC. -* This may be different from the value read from -* CR0, as the PL330 implementation might have 'holes' -* in the peri list or the peri could also be reached -* from another DMAC which the platform prefers. -*/ -u8 nr_valid_peri; -/* Array of valid peripherals */ -u8 *peri_id; -/* Operational capabilities */ -dma_cap_mask_t cap_mask; -/* Bytes to allocate for MC buffer */ -unsigned mcbuf_sz; -}; - -extern bool pl330_filter (struct dma_chan *chan,void *param); -#endif /* __AMBA_PL330_H_ */
Signature · 1 line
1.9.1
Vinod Koul
AppliedQuoted 2 lines · Marek Szyprowski
This driver is now used only on platforms which support device tree, so it is safe to remove legacy platform data based initialization code.
Applied, thanks
Signature · 1 line
~Vinod