diff options
author | RinHizakura <s921975628@gmail.com> | 2021-12-25 13:07:13 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2022-01-23 18:37:05 +0300 |
commit | 109cf81fb573c1b685282a35e427e76f35870628 (patch) | |
tree | 9bf9e64c2c52dc446a76594df395fb88c98869d2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | db52b445793d8e4ffe9b53ff749a55470b900984 (diff) | |
download | linux-109cf81fb573c1b685282a35e427e76f35870628.tar.xz |
mtd: rawnand: nandsim: Add NS_PAGE_BYTE_SHIFT macro to replace the repeat pattern
The (ns->regs.column + ns->regs.off) pattern repeats a lot which
represents the byte shift in next page to access. We can replace it
with a macro to improve the readability.
Signed-off-by: RinHizakura <s921975628@gmail.com>
Reviewed-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20211225100713.119089-1-s921975628@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions