Re: [U-Boot] [PATCH v3 05/11] spi: cadence_qspi: Clean up the #define names

2016-12-02 Thread Jagan Teki
On Tue, Nov 29, 2016 at 6:28 PM, Phil Edworthy wrote: > A lot of the #defines are for single bits in a register, where the > name has _MASK on the end. Since this can be used for both a mask > and the value, remove _MASK from them. > > Whilst doing so, also remove the

[U-Boot] [PATCH v3 05/11] spi: cadence_qspi: Clean up the #define names

2016-11-29 Thread Phil Edworthy
A lot of the #defines are for single bits in a register, where the name has _MASK on the end. Since this can be used for both a mask and the value, remove _MASK from them. Whilst doing so, also remove the unnecessary brackets around the constants. Signed-off-by: Phil Edworthy