mtd: nand: Store nand ID in struct nand_chip
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 24 May 2016 17:20:05 +0000 (19:20 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 8 Mar 2017 22:21:15 +0000 (23:21 +0100)
commit7f501f0a72036dc29ad9a53811474c393634b401
tree279924b11173367a3b846329e9a4204f36127a40
parentcbe435a182d15d82a10a6b56a96406d957ceb35c
mtd: nand: Store nand ID in struct nand_chip

Store the NAND ID in struct nand_chip to avoid passing id_data and id_len
as function parameters.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Richard Weinberger <richard@nod.at>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
drivers/mtd/nand/nand_base.c
include/linux/mtd/nand.h