[U-Boot] [PATCH v4 03/24] spi: altera_spi: Use BIT macro

Tom Rini trini at konsulko.com
Thu Oct 22 23:24:10 CEST 2015


On Fri, Oct 23, 2015 at 02:20:03AM +0530, Jagan Teki wrote:

> Replace numerical bit shift with BIT macro in altera_spi
> 
> :%s/(1 << nr)/BIT(nr)/g
> where nr = 0, 1, 2 .... 31
> 
> Cc: Marek Vasut <marex at denx.de>
> Signed-off-by: Jagan Teki <jteki at openedev.com>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151022/6c2a5b07/attachment.sig>


More information about the U-Boot mailing list