From: Tom Rini Date: Sat, 24 Oct 2015 19:24:07 -0400 Subject: [U-Boot] [PATCH v5 07/23] spi: designware_spi: Use BIT macro In-Reply-To: <1445657950-7117-8-git-send-email-jteki@openedev.com> References: <1445657950-7117-1-git-send-email-jteki@openedev.com> <1445657950-7117-8-git-send-email-jteki@openedev.com> Message-ID: <20151024232407.GO23893@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Marek Vasut > Signed-off-by: Jagan Teki Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: