Commit 9fe1617
mtd: rawnand: gpmi: Use str_enabled_disabled() in gpmi_nand_attach_chip()
Remove hard-coded strings by using the str_enabled_disabled() helper
function.
Signed-off-by: Zhang Heng <zhangheng@kylinos.cn>
Reviewed-by: Han Xu <han.xu@nxp.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>1 parent 6bc9f42 commit 9fe1617
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
2319 | 2320 | | |
2320 | 2321 | | |
2321 | 2322 | | |
2322 | | - | |
2323 | | - | |
| 2323 | + | |
| 2324 | + | |
2324 | 2325 | | |
2325 | 2326 | | |
2326 | 2327 | | |
| |||
0 commit comments