Skip to content
Snippets Groups Projects
Commit 29e6abd9 authored by Jagan Teki's avatar Jagan Teki
Browse files

spi: fsl: Use BIT macro


Replace numerical bit shift with BIT macro
in fsl_*spi.c

:%s/(1 << nr)/BIT(nr)/g
where nr = 0, 1, 2 .... 31

Cc: York Sun <yorksun@freescale.com>
Cc: Haikun Wang <Haikun.Wang@freescale.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
Signed-off-by: default avatarJagan Teki <jteki@openedev.com>
parent 431a9f02
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment