• J
    mmp_pdma: Style neatening · 2b7f65b1
    Joe Perches 提交于
    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: NJoe Perches <joe@perches.com>
    Signed-off-by: NVinod Koul <vinod.koul@intel.com>
    2b7f65b1
mmp_pdma.c 26.7 KB