mtd: nand: remove hard-coded NAND ids length
Jean-Louis Thekekara authored
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>
5158bd55
Name Last commit Last update
Documentation Merge tag 'standardize-docs' of git://git.lwn.net/linux
arch Merge branch 'work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
block Merge branch 'for-linus' of git://git.kernel.dk/linux-block
certs modsign: add markers to endif-statements in certs/Makefile
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
drivers mtd: nand: remove hard-coded NAND ids length
firmware firmware/Makefile: force recompilation if makefile changes
fs Merge tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random
include mtd: nand: remove hard-coded NAND ids length
init random: do not ignore early device randomness
ipc ipc/util.h: update documentation for ipc_getref() and ipc_putref()
kernel Merge branch 'work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
lib Merge tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random
mm Merge branch 'work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
net Merge tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random
samples Merge branch 'akpm' (patches from Andrew)
scripts Merge tag 'kbuild-v4.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
security KEYS: DH: validate __spare field
sound Merge tag 'sound-fix-4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
tools Merge branch 'akpm' (patches from Andrew)
usr ramfs: clarify help text that compression applies to ramfs as well as legacy ramdisk.
virt Merge tag 'kvm-4.13-2' of git://git.kernel.org/pub/scm/virt/kvm/kvm
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Add hch to .get_maintainer.ignore
.gitattributes .gitattributes: set git diff driver for C source code files
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.