• Joe Perches's avatar
    mmp_pdma: Style neatening · 2b7f65b1
    Joe Perches authored
    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: default avatarJoe Perches <joe@perches.com>
    Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
    2b7f65b1
mmp_pdma.c 26.7 KB