diff options
author | 2016-11-04 17:49:08 +0900 | |
---|---|---|
committer | 2016-11-07 14:48:40 +0100 | |
commit | 4722c0e958e636226100f37cd6d17ac09b695827 (patch) | |
tree | b52f0a66e08d1a17fd0c28f11258f9b2025c1a14 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: nand: denali_dt: replace clk_disable() with clk_disable_unprepare() (diff) | |
download | linux-dev-4722c0e958e636226100f37cd6d17ac09b695827.tar.xz linux-dev-4722c0e958e636226100f37cd6d17ac09b695827.zip |
mtd: nand: change return type of nand_get_flash_type() to int
Since commit d1e1f4e42b5d ("mtd: nand: add support for reading ONFI
parameters from NAND device"), the returned "type" is never used in
nand_scan_ident().
Make nand_get_flash_type() simply return an integer value in order
to avoid unnecessary ERR_PTR/PTR_ERR dance.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions