]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: dataflash: Improve coding style in jedec_probe()
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Fri, 21 Apr 2017 16:30:22 +0000 (09:30 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 11 May 2017 17:04:19 +0000 (10:04 -0700)
commit41c9c6621afa22c86fe74cf07536fd21c7719ca6
tree1bfdf7baf9fbfb1f96199e23346a5c48d0362e50
parentc41e43c6faf68a9b70afdb0dfee45d196c27031b
mtd: dataflash: Improve coding style in jedec_probe()

Change the following:

   - Replace indentation between type and name of local variable from
     tabs to spaces

   - Replace magic number 0x1F with CFI_MFR_ATMEL macro

   - Replace variable 'tmp' with 'ret' and 'i' where appropriate

   - Reformat multi-line comments and add newlines where appropriate

No functional change intended.

Cc: cphealy@gmail.com
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Brian Norris <computersforpeace@gmail.com>
Cc: Boris Brezillon <boris.brezillon@free-electrons.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: Cyrille Pitchen <cyrille.pitchen@atmel.com>
Cc: Marek Vasut <marek.vasut@gmail.com>
Cc: linux-kernel@vger.kernel.org
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Tested-by: Chris Healy <cphealy@gmail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/mtd_dataflash.c