diff options
author | 2016-03-07 10:46:54 +0100 | |
---|---|---|
committer | 2016-03-07 16:23:09 -0800 | |
commit | a8c65d504e0b2256f7672506ae6ea68d88ef020a (patch) | |
tree | fb123fc52e4b2d09a3f7f77680276d828696abc2 /tools/perf/scripts/python/stackcollapse.py | |
parent | mtd: mtdswap: remove useless if (!mtd->ecclayout) test (diff) | |
download | wireguard-linux-a8c65d504e0b2256f7672506ae6ea68d88ef020a.tar.xz wireguard-linux-a8c65d504e0b2256f7672506ae6ea68d88ef020a.zip |
mtd: nand: simplify nand_bch_init() usage
nand_bch_init() requires several arguments which could directly be deduced
from the mtd device. Get rid of those useless parameters.
nand_bch_init() is also requiring the caller to provide a proper eccbytes
value, while this value could be deduced from the ecc.size and
ecc.strength value. Fallback to eccbytes calculation when it is set to 0.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions