aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThomas Petazzoni <[email protected]>2017-03-21 11:04:02 +0100
committerBoris Brezillon <[email protected]>2017-03-23 11:11:27 +0100
commita1b1e1d5bdfe79e3d3b28387dd43bb16531be5a4 (patch)
treeff603134b7728d4168314ba6c704131d8d39db76 /tools/perf/scripts/python
parentc0d218c81621d847472e01f227eab3e4f0902ce2 (diff)
mtd: nand: fsmc: finally remove fsmc_nand_platform_data
Since the driver now only supports DT probing, it doesn't make a lot of sense to have a private data structure called platform_data, fill it in with information coming from the DT, and then copying this into the driver-specific structure fsmc_nand_data. So instead, we remove fsmc_nand_platform_data entirely, and have fsmc_nand_probe_config_dt() fill in the fsmc_nand_data structure directly. This requires calling fsmc_nand_probe_config_dt() after fsmc_nand_data has been allocated instead of before. Also, as an added bonus, we now propagate properly the return value of fsmc_nand_probe_config_dt() instead of returning -ENODEV on failure. The error message is also removed, since it no longer made any sense. Signed-off-by: Thomas Petazzoni <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Signed-off-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions