mtd: nand: Drop useless 'depends on' in Kconfig
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 29 May 2020 00:25:08 +0000 (02:25 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 26 Jun 2020 06:35:03 +0000 (08:35 +0200)
commit6232095cc57cd096f126fa23c227a20a1669cc4f
tree9b2801673d7b9f20ac7e207639ed8f32e557b379
parentdeedeb60e812b464c18a9902984eb3f643efcae9
mtd: nand: Drop useless 'depends on' in Kconfig

Both OneNAND and raw NAND bits can't be compiled if MTD is disabled
because of the if/endif logic in drivers/mtd/Kconfig. There is no need
for an extra "depends on MTD" in their respective Kconfig files.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-mtd/20200529002517.3546-12-miquel.raynal@bootlin.com
drivers/mtd/nand/onenand/Kconfig
drivers/mtd/nand/raw/Kconfig