[PATCH 06/20] mtd: nand: ecc-bch: Drop mtd_nand_has_bch()

Miquel Raynal miquel.raynal at bootlin.com
Fri Oct 30 13:29:53 EDT 2020


On Tue, 2020-09-29 at 23:01:10 UTC, Miquel Raynal wrote:
> Like for any other compilation option, use the IS_ENABLED() macro
> instead of hardcoding it.
> 
> By droping this helper we can get rid of the BCH header in nandsim.c.
> 
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next.

Miquel



More information about the linux-mtd mailing list