diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-12-31 09:36:48 +0800 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-01-21 20:00:34 +0100 |
commit | db7b6aeca2a7cc500a3f31d8dd1625272771f36b (patch) | |
tree | 2469362b45c8270e67cbc6b5938b0ec239c8f241 /scripts/bpf_helpers_doc.py | |
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>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions