diff options
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2015-12-10 09:00:37 +0100 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-12-18 13:22:50 -0800 |
commit | 7194a29a9bf1e5abcda8b181bba771fbe0e95b6c (patch) | |
tree | 90c70be3a9445ffcc5737554c6e75587e71ee972 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | f12d86afc5594c89492fb7c78fce07a4e94b2384 (diff) |
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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions