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

spi: cadence_qspi_apb: Use BIT macro


Replace numerical bit shift with BIT macro
in cadence_qspi_apb

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

Cc: Stefan Roese <sr@denx.de>
Cc: Marek Vasut <marex@denx.de>
Acked-by: default avatarVikas Manocha <vikas.manocha@st.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
Signed-off-by: default avatarJagan Teki <jteki@openedev.com>
parent c0d1ea4a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment