diff options
| author | Thomas Petazzoni <[email protected]> | 2017-03-21 11:03:58 +0100 |
|---|---|---|
| committer | Boris Brezillon <[email protected]> | 2017-03-23 11:10:44 +0100 |
| commit | a04271a723c716da534ee6c20531aee487129dbd (patch) | |
| tree | 9e00af6652c73b99c1bbc99b28146ae968f4e8c5 /tools/perf/scripts/python | |
| parent | 6324fb93a2594fa7e748ec45751033eee1fd7fee (diff) | |
mtd: nand: fsmc: remove fsmc_select_chip()
host->select_chip used to point to the ->select_bank() function provided
by the platform data, but the latter no longer exists. Therefore
host->select_chip is always NULL.
Due to this, the fsmc_select_chip() does nothing, except:
chip->cmd_ctrl(mtd, NAND_CMD_NONE, 0 | NAND_CTRL_CHANGE);
when chipnr is -1, which is exactly what the default implementation of
->select_chip() does in the NAND framework. So, this commit kills
fsmc_select_chip() entirely.
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