[U-Boot] [PATCH v4 04/24] spi: atmel_spi: Use BIT macro

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


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

> Replace numerical bit shift with BIT macro in atmel_spi
> 
> :%s/(1 << nr)/BIT(nr)/g
> where nr = 0, 1, 2 .... 31
> 
> Cc: Bo Shen <voice.shen at atmel.com>
> 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/9a9969df/attachment.sig>


More information about the U-Boot mailing list