Re: [PATCH] mtd: nand: gpmi: replace _manual_ swap with swap macro

2017-11-30 Thread Boris Brezillon
On Fri, 3 Nov 2017 15:31:47 -0500 "Gustavo A. R. Silva" wrote: > 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. Applied. Thanks, Boris > > Signed-off-by: Gustavo A.

Re: [PATCH] mtd: nand: gpmi: replace _manual_ swap with swap macro

2017-11-03 Thread Gustavo A. R. Silva
@vger.kernel.org; Gustavo A. R. Silva Subject: [PATCH] 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

Re: [PATCH] mtd: nand: gpmi: replace _manual_ swap with swap macro

2017-11-03 Thread Han Xu
. Silva Subject: [PATCH] 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 --- drivers/mtd

[PATCH] mtd: nand: gpmi: replace _manual_ swap with swap macro

2017-11-03 Thread Gustavo A. R. Silva
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 --- drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 16 1 file changed, 4 insertion