Skip to content
Commit b13a9735 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Boris Brezillon
Browse files

mtd: nand: gpmi: replace _manual_ swap with swap macro



Make use of the swap macro and remove unnecessary variables swap.
This makes the code easier to read and maintain.

This code was detected with the help of Coccinelle.

Signed-off-by: default avatarGustavo A. R. Silva <garsilva@embeddedor.com>
Acked-by: default avatarHan Xu <han.xu@nxp.com>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
parent f883199d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment