summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nftlmount.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-03-30 08:45:48 +0200
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-04-25 14:18:31 +0200
commit8aabdf376f2baafbaaceeee1f3f7f7dca70f8e0b (patch)
treead5ca31bf76eb0b6ea784c843148b9a0e34c4d0a /drivers/mtd/nftlmount.c
parentmtd: nand: relax ecc.read_page() return value for uncorrectable ECC (diff)
downloadlinux-8aabdf376f2baafbaaceeee1f3f7f7dca70f8e0b.tar.xz
linux-8aabdf376f2baafbaaceeee1f3f7f7dca70f8e0b.zip
mtd: nand: denali: allow to override mtd->name from label DT property
Commit 28309572aac4 ("mtd: name the mtd device with an optional label property") allow us to identify a chip in a user-friendly way. If nand_set_flash_node() picks up the "label" from DT, let's respect it. Otherwise, let it fallback to the current name "denali-nand". Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Suggested-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd/nftlmount.c')
0 files changed, 0 insertions, 0 deletions