mtd: nand: qcom: remove redundant chip select compatible string
authorAbhishek Sahu <absahu@codeaurora.org>
Wed, 19 Jul 2017 11:47:53 +0000 (17:17 +0530)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 23 Aug 2017 14:49:15 +0000 (16:49 +0200)
commite806423aca5bf52b1e14e83befa9d4bac8c17ee1
tree83939651f8d6639d4918a88a1043001e9a5e9693
parent10777de570016471fd929869c7830a7772893e39
mtd: nand: qcom: remove redundant chip select compatible string

Currently the compatible “qcom,nandcs” is being used for each
connected NAND device to support for multiple NAND devices in the
same bus. The same thing can be achieved by looking reg property
for each sub nodes which contains the chip select number so this
patch removes the use of “qcom,nandcs” for specifying NAND device
sub nodes.

Since there is no user for this driver currently in so
changing compatible string is safe.

Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
Reviewed-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/qcom_nandc.c