ARM: OMAP: dma: Make use of cpu_class_is_omap2() to avoid future patching.
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Sat, 28 Apr 2012 14:49:10 +0000 (20:19 +0530)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>
Tue, 8 May 2012 06:24:24 +0000 (11:54 +0530)
commitd07c3df8019bf01306065c4271421d70ad23e5e8
tree7557d06bf8953a613539df20a2e98eaf2ed08a35
parent084753d18e6d2d95db21cc89514f225c8a7635b3
ARM: OMAP: dma: Make use of cpu_class_is_omap2() to avoid future patching.

cpu_class_is_omap2() contains all OMAP2+ devices. So update the DMA code
cpu checks accordingly so that there is no need to patch
the file for any future OMAP2+ devices.

In long run, all these attributes should come from hwmod dev_attr based
on DMA IP version.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/plat-omap/dma.c