From: Huang Shijie Date: Mon, 19 Nov 2012 06:43:30 +0000 (+0800) Subject: mtd: remove the "chip" parameter in nand_get_device() X-Git-Tag: v3.8-rc1~47^2~22 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a8214aa3d323d2e185523ea112116759bc3c5ce;p=pandora-kernel.git mtd: remove the "chip" parameter in nand_get_device() There are two reasons to remove the "chip" parameter in nand_get_device(): [1] The nand_release_device() does not have the "chip" parameter. [2] We can get the nand_chip by the mtd->priv field. This patch removes the "chip" parameter in nand_get_device(). Signed-off-by: Huang Shijie Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed