mmp_pdma: Style neatening
authorJoe Perches <joe@perches.com>
Sun, 17 Nov 2013 20:12:56 +0000 (12:12 -0800)
committerVinod Koul <vinod.koul@intel.com>
Mon, 16 Dec 2013 03:48:48 +0000 (09:18 +0530)
commit2b7f65b11d87f9f3925dee5df020303b362c98ee
tree00269e2cb051d2896e67a37601b0e8d868d92220
parent0da9e55e71bc239102d47ac422162c9915c99074
mmp_pdma: Style neatening

Neaten code used as a template for other drivers.
Make the code more consistent with kernel styles.

o Convert #defines with (1<<foo) to BIT(foo)
o Alignment wrapping
o Logic inversions to put return at end of functions
o Convert devm_kzalloc with multiply to devm_kcalloc
o typo of Peripheral fix

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mmp_pdma.c