summaryrefslogtreecommitdiffstats
path: root/include/linux/kexec.h
diff options
context:
space:
mode:
authorBoris BREZILLON <boris.brezillon@free-electrons.com>2016-03-07 10:46:54 +0100
committerBrian Norris <computersforpeace@gmail.com>2016-03-07 16:23:09 -0800
commita8c65d504e0b2256f7672506ae6ea68d88ef020a (patch)
treefb123fc52e4b2d09a3f7f77680276d828696abc2 /include/linux/kexec.h
parentf2de0fa64306651bc5aa04f6bb56c057658486d5 (diff)
downloadblackbird-op-linux-a8c65d504e0b2256f7672506ae6ea68d88ef020a.tar.gz
blackbird-op-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 'include/linux/kexec.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud