[PATCH 1/5] ram: k3-j721e: rename BIT_MASK()
Simon Glass
sjg at chromium.org
Thu Jan 7 13:36:06 CET 2021
On Mon, 4 Jan 2021 at 00:03, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> The macro BIT_MASK is already defined in include/linux/bitops.h. To avoid
> name collisions rename BIT_MASK() in drivers/ram/k3-j721e/lpddr4_private.h
> to LPDDR4_BIT_MASK().
>
> Remove superfluous parantheses.
> Remove superfluous comparison to 0.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> drivers/ram/k3-j721e/lpddr4.c | 14 +++++++-------
> drivers/ram/k3-j721e/lpddr4_private.h | 20 ++++++++++++--------
> 2 files changed, 19 insertions(+), 15 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list