ARM: OMAP1: Remove unused DMA channel definitions
authorJarkko Nikula <jarkko.nikula@bitmer.com>
Wed, 13 Mar 2013 20:15:48 +0000 (22:15 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 20 Mar 2013 16:40:49 +0000 (09:40 -0700)
commitf9da561f4e270195dee5875b3ebbac75d65fd2c3
treeb044bae19d49654d1d26cf9f1d2e3cd7ec4646aa
parenta937536b868b8369b98967929045f1df54234323
ARM: OMAP1: Remove unused DMA channel definitions

Many of these channel definitions have became unused or were never used
so remove unused definitions from arch/arm/mach-omap1/dma.h using a script
below. See also notes in commit 8c4cc00
("ARM: OMAP1: DMA: Moving OMAP1 DMA channel definitions to mach-omap1")
for removing remaining ones.

egrep '#define OMAP.*DMA' arch/arm/mach-omap1/dma.h \
        |cut -f 1 |cut -d ' ' -f 2 | while read -r i; do \
                if [ `git grep -c $i | wc -l` -eq 1 ]; then \
                        echo "removing" $i; \
                        sed -i "/${i}/d" arch/arm/mach-omap1/dma.h; \
                fi; \
        done

Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/dma.h