]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit9318aa4a1e95c19a7cc7bad0c84cae66a4ca6899
treea4c113c0fbce7d5931d6f5703df0f4a01a9409fc
parentca17607562d4e49f303a9e53056b5614fc51137d
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