[U-Boot] [PATCH v5 09/23] spi: ich: Use BIT macro

Simon Glass sjg at chromium.org
Mon Oct 26 15:08:17 CET 2015


On 23 October 2015 at 21:38, Jagan Teki <jteki at openedev.com> wrote:
> Replace numerical bit shift with BIT macro
> in ich
>
> :%s/(1 << nr)/BIT(nr)/g
> where nr = 0, 1, 2 .... 31
>
> Cc: Simon Glass <sjg at chromium.org>
> Reviewed-by: Tom Rini <trini at konsulko.com>
> Signed-off-by: Jagan Teki <jteki at openedev.com>
> ---
>  drivers/spi/ich.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list