Skip to content

Commit

Permalink
mmp_pdma: Style neatening
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joe Perches authored and Vinod Koul committed Dec 16, 2013
1 parent 0da9e55 commit 2b7f65b
Showing 1 changed file with 105 additions and 99 deletions.
Loading

0 comments on commit 2b7f65b

Please sign in to comment.