summaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
authorTakahiro Kuwano <Takahiro.Kuwano@infineon.com>2022-12-26 07:01:59 +0300
committerTudor Ambarus <tudor.ambarus@linaro.org>2022-12-26 10:47:04 +0300
commit86d4cdf88c81778bb4cd5c4bd7f8a6c64e69491f (patch)
tree882925f71d66c262723d0b65d92b6b7bbeca8bf4 /rust
parentad9679f3811899fd1c21dc7bdd715e8e1cfb46b9 (diff)
downloadlinux-86d4cdf88c81778bb4cd5c4bd7f8a6c64e69491f.tar.xz
mtd: spi-nor: sfdp: Rename BFPT_DWORD() macro to SFDP_DWORD()
BFPT_DWORD() converts 1-based indexing to 0-based indexing for C arrays, and is used in BFPT parse. Per JESD216F.02, the conversion is applicable to other parameter tables than BFPT. This patch renames the macro to SFDP_DWORD() so that we can use it for other parameter tables than BFPT. Suggested-by: Tudor Ambarus <tudor.ambarus@linaro.org> Signed-off-by: Takahiro Kuwano <Takahiro.Kuwano@infineon.com> Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org> Link: https://lore.kernel.org/r/e42feac840fe3a31187419e91b2d514d9f259d15.1672026365.git.Takahiro.Kuwano@infineon.com
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions