]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit591ed42060ebbcdc2007f6b1175d9efb3a40c9e9
tree00269e2cb051d2896e67a37601b0e8d868d92220
parente19d73cd16399a30c31ca0b66925b62b508064d1
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