commit | db7b6aeca2a7cc500a3f31d8dd1625272771f36b | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Tue Dec 31 09:36:48 2019 +0800 |
committer | Miquel Raynal <miquel.raynal@bootlin.com> | Tue Jan 21 20:00:34 2020 +0100 |
tree | 2469362b45c8270e67cbc6b5938b0ec239c8f241 | |
parent | f33113b542219448fa02d77ca1c6f4265bd7f130 [diff] |
mtd: rawnand: macronix: Use match_string() helper to simplify the code match_string() returns the array index of a matching string. Use it instead of the open-coded implementation. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>