aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2017-04-21 09:30:24 -0700
committerBrian Norris <computersforpeace@gmail.com>2017-05-11 10:04:39 -0700
commita296a1bc3eb54382d2a61d47529e71c9d3bc615e (patch)
tree46ca5945b03282affb5911cce1a14526060f458b /tools/perf/scripts/python
parentmtd: dataflash: Replace pr_debug, printk with dev_* functions (diff)
downloadlinux-a296a1bc3eb54382d2a61d47529e71c9d3bc615e.tar.gz
linux-a296a1bc3eb54382d2a61d47529e71c9d3bc615e.zip
mtd: dataflash: Get rid of loop counter in jedec_probe()
"For" loop in jedec_probe can be simplified to not need counter 'i'. Convert the code and get rid of the variable. 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: Marek Vasut <marek.vasut@gmail.com> Cc: Richard Weinberger <richard@nod.at> Cc: Cyrille Pitchen <cyrille.pitchen@atmel.com> Cc: linux-kernel@vger.kernel.org Reviewed-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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions