diff options
author | 2015-12-10 09:00:37 +0100 | |
---|---|---|
committer | 2015-12-18 13:22:50 -0800 | |
commit | 7194a29a9bf1e5abcda8b181bba771fbe0e95b6c (patch) | |
tree | 90c70be3a9445ffcc5737554c6e75587e71ee972 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: mt29f_spinand: remove useless mtd->priv = chip assignment (diff) | |
download | linux-dev-7194a29a9bf1e5abcda8b181bba771fbe0e95b6c.tar.xz linux-dev-7194a29a9bf1e5abcda8b181bba771fbe0e95b6c.zip |
mtd: nand: simplify nand_dt_init() usage
nand_dt_init() function requires 3 arguments where it actually needs one
(dn and mtd can both be retrieved from chip). Drop these parameters.
Testing for dn != NULL inside nand_dt_init() also helps simplifying the
caller code.
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions