ram: k3-j721e: rename BIT_MASK()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 4 Jan 2021 07:02:52 +0000 (08:02 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 17 Jan 2021 00:17:11 +0000 (19:17 -0500)
commitf5abd8a616d1e8d9ff6c1fbd5d10496ab5dcf1ea
treea4c113c0fbce7d5931d6f5703df0f4a01a9409fc
parentbcb0203c616b907ee39a131693a8718eef338c7b
ram: k3-j721e: rename BIT_MASK()

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@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/ram/k3-j721e/lpddr4.c
drivers/ram/k3-j721e/lpddr4_private.h