ARM: tegra: dma: Coding style and general cleanups
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 6 Mar 2012 08:25:35 +0000 (13:25 +0530)
committerSimone Willett <swillett@nvidia.com>
Wed, 7 Mar 2012 04:08:27 +0000 (20:08 -0800)
commit86373a7e882d9ce6d45964701ff13c7a2d8b02f5
treee429fc86492d49b52fd9aa95114d942e5c01b640
parentc16155d9b0a6956e7170c837d824cf3c362a14c2
ARM: tegra: dma: Coding style and general cleanups

Some cleanups:
- Copyright year change
- Properly aligned macro.
- Defined function as static if used only in file.
- Move the macro from header to file if it is only used in driver.
- Returning proper status on callbacks.
- Adding some more comments in code.
- Rewritten some piece of code for better readability.

Change-Id: I778752668a67b849859fd7e0c11f2b7a3f3b1edc
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/87993
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
arch/arm/mach-tegra/dma.c
arch/arm/mach-tegra/include/mach/dma.h