]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: cadence_qspi_apb: Use BIT macro
authorJagan Teki <jteki@openedev.com>
Thu, 22 Oct 2015 20:06:06 +0000 (01:36 +0530)
committerJagan Teki <jteki@openedev.com>
Tue, 27 Oct 2015 17:49:29 +0000 (23:19 +0530)
commitb7e83b087c0464b2e52240c2ebb1356125cca93e
treebe4da29828f5a0e8ba1f439b568552fdc93850ef
parentc0d1ea4acd53304f9f749790424586f52547a99a
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: Vikas Manocha <vikas.manocha@st.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/spi/cadence_qspi_apb.c