diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-11-03 15:31:47 -0500 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-11-30 10:57:33 +0100 |
commit | b13a9735ae74d4fa9e4d53b4dcfdd779997c8e0e (patch) | |
tree | d5e87e4e39fa38f1316bdf5b811e3bb06a881862 /drivers/mtd/devices/lart.c | |
parent | f883199d17b87e86a4ebd50bdee69285814bdce7 (diff) | |
download | talos-obmc-linux-b13a9735ae74d4fa9e4d53b4dcfdd779997c8e0e.tar.gz talos-obmc-linux-b13a9735ae74d4fa9e4d53b4dcfdd779997c8e0e.zip |
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: Gustavo A. R. Silva <garsilva@embeddedor.com>
Acked-by: Han Xu <han.xu@nxp.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd/devices/lart.c')
0 files changed, 0 insertions, 0 deletions