[U-Boot] [PATCH v4 11/24] spi: mpc8xxx_spi: Use BIT macro
Tom Rini
trini at konsulko.com
Thu Oct 22 23:24:36 CEST 2015
On Fri, Oct 23, 2015 at 02:20:11AM +0530, Jagan Teki wrote:
> Replace numerical bit shift with BIT macro in mpc8xxx_spi
>
> :%s/(1 << nr)/BIT(nr)/g
> where nr = 0, 1, 2 .... 31
>
> 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/75164f12/attachment.sig>
More information about the U-Boot
mailing list