Re: [PATCH v2 1/2] mtd: nand: omap: Do not use global variables

2014-10-22 Thread Brian Norris
On Thu, Oct 02, 2014 at 02:16:12PM +0200, Rostislav Lisovy wrote: > 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

Re: [PATCH v2 1/2] mtd: nand: omap: Do not use global variables

2014-10-22 Thread Brian Norris
On Thu, Oct 02, 2014 at 02:16:12PM +0200, Rostislav Lisovy wrote: 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

Re: [PATCH v2 1/2] mtd: nand: omap: Do not use global variables

2014-10-02 Thread Roger Quadros
On 10/02/2014 03:16 PM, Rostislav Lisovy wrote: > 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. > >

[PATCH v2 1/2] mtd: nand: omap: Do not use global variables

2014-10-02 Thread Rostislav Lisovy
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 --- Changes since v1: * Do

[PATCH v2 1/2] mtd: nand: omap: Do not use global variables

2014-10-02 Thread Rostislav Lisovy
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 lis...@merica.cz --- Changes

Re: [PATCH v2 1/2] mtd: nand: omap: Do not use global variables

2014-10-02 Thread Roger Quadros
On 10/02/2014 03:16 PM, Rostislav Lisovy wrote: 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.