diff options
author | Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com> | 2011-05-09 16:09:36 +0900 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2011-05-09 17:12:23 +0530 |
commit | 08645fdc7bab4564f7dfd07525da8a1761f8f106 (patch) | |
tree | 5b65ccb6255b2eac854fa6485a839f685084a1fe /drivers/dma | |
parent | c8fcba600c46c5d7667ec230b1d9ce3ce5859f9c (diff) | |
download | kernel_samsung_tuna-08645fdc7bab4564f7dfd07525da8a1761f8f106.zip kernel_samsung_tuna-08645fdc7bab4564f7dfd07525da8a1761f8f106.tar.gz kernel_samsung_tuna-08645fdc7bab4564f7dfd07525da8a1761f8f106.tar.bz2 |
pch_dma: modify for checkpatch
Fix checkpatch warnings.
Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/pch_dma.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/dma/pch_dma.c b/drivers/dma/pch_dma.c index d28c47a..afd6fba0 100644 --- a/drivers/dma/pch_dma.c +++ b/drivers/dma/pch_dma.c @@ -138,7 +138,8 @@ struct pch_dma { #define dma_writel(pd, name, val) \ writel((val), (pd)->membase + PCH_DMA_##name) -static inline struct pch_dma_desc *to_pd_desc(struct dma_async_tx_descriptor *txd) +static inline +struct pch_dma_desc *to_pd_desc(struct dma_async_tx_descriptor *txd) { return container_of(txd, struct pch_dma_desc, txd); } @@ -163,13 +164,15 @@ static inline struct device *chan2parent(struct dma_chan *chan) return chan->dev->device.parent; } -static inline struct pch_dma_desc *pdc_first_active(struct pch_dma_chan *pd_chan) +static inline +struct pch_dma_desc *pdc_first_active(struct pch_dma_chan *pd_chan) { return list_first_entry(&pd_chan->active_list, struct pch_dma_desc, desc_node); } -static inline struct pch_dma_desc *pdc_first_queued(struct pch_dma_chan *pd_chan) +static inline +struct pch_dma_desc *pdc_first_queued(struct pch_dma_chan *pd_chan) { return list_first_entry(&pd_chan->queue, struct pch_dma_desc, desc_node); |