diff options
author | Jagan Teki <jteki@openedev.com> | 2015-10-27 23:09:56 +0530 |
---|---|---|
committer | Jagan Teki <jteki@openedev.com> | 2015-10-28 13:53:58 +0530 |
commit | 9c63d44e92e3c90080491ba4e61e36e39a20aea8 (patch) | |
tree | e463953979a6e8255bb40278948c01f620bc2926 /doc | |
parent | d2436301c52a823f0f0b3c2ef4b966a5bced489c (diff) |
spi: altera_spi: Use BIT macro
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@denx.de>
Acked-by: Thomas Chou <thomas@wytron.com.tw>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions