[PATCH v2 -next] mtd: rawnand: macronix: Use match_string() helper to simplify the code

Miquel Raynal miquel.raynal at bootlin.com
Tue Jan 14 09:04:51 PST 2020


On Tue, 2019-12-31 at 01:36:48 UTC, YueHaibing wrote:
> match_string() returns the array index of a matching string.
> Use it instead of the open-coded implementation.
> 
> Signed-off-by: YueHaibing <yuehaibing at huawei.com>

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

Miquel



More information about the linux-mtd mailing list