Skip to content
Snippets Groups Projects
Commit 5158bd55 authored by Jean-Louis Thekekara's avatar Jean-Louis Thekekara Committed by Boris Brezillon
Browse files

mtd: nand: remove hard-coded NAND ids length


This commit removes hard-coded '8' used for looping into
struct nand_chip.id.data array.

NAND_MAX_ID_LEN has been introduced by Artem Bityutskiy in
53552d22 for defining ids length in nand_flash_ids[] list.

This commit unifies ids length in nand base driver.

Signed-off-by: default avatarJean-Louis Thekekara <jeanlouis.thekekara@parrot.com>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
parent f84674b8
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment