[U-Boot] [PATCH v5 07/23] spi: designware_spi: Use BIT macro

Tom Rini trini at konsulko.com
Sun Oct 25 01:24:07 CEST 2015


On Sat, Oct 24, 2015 at 09:08:54AM +0530, Jagan Teki wrote:

> Replace numerical bit shift with BIT macro
> in designware_spi
> 
> :%s/(1 << nr)/BIT(nr)/g
> where nr = 0, 1, 2 .... 31
> 
> Cc: Stefan Roese <sr at denx.de>
> 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/20151024/8c2d6abf/attachment.sig>


More information about the U-Boot mailing list