Skip to content

Commit 72a0fce

Browse files
committed
[nrf fromtree] drivers: nrf_qspi_nor: Clean up handling of return values
Consistently use `res` for results of calls to nrfx functions and `rc` for Zephyr return codes, to avoid mixing up those two and for example calling `qspi_get_zephyr_ret_code()` for a value that is already a Zephyr return code. Correct also such call in `qspi_nor_write()`. Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 4a45581)
1 parent 93e398c commit 72a0fce

File tree

1 file changed

+125
-123
lines changed

1 file changed

+125
-123
lines changed

0 commit comments

Comments
 (0)