mtd: nand: omap: Do not use global variables
authorRostislav Lisovy <lisovy@gmail.com>
Thu, 2 Oct 2014 12:16:12 +0000 (14:16 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 22 Oct 2014 08:33:33 +0000 (01:33 -0700)
Since the commit 97a288ba2cfa ("ARM: omap2+: gpmc-nand: Use
dynamic platform_device_alloc()") gpmc-nand driver supports
multiple NAND flash devices connected to the single controller.
Remove global variable to make the code thread-safe.

Signed-off-by: Rostislav Lisovy <lisovy@merica.cz>
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>

No differences found