From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <542D46A1.9090905@ti.com> Date: Thu, 2 Oct 2014 15:35:45 +0300 From: Roger Quadros MIME-Version: 1.0 To: Rostislav Lisovy , David Woodhouse , Brian Norris , Tony Lindgren , , Subject: Re: [PATCH v2 1/2] mtd: nand: omap: Do not use global variables References: <1412252173-20454-1-git-send-email-lisovy@merica.cz> In-Reply-To: <1412252173-20454-1-git-send-email-lisovy@merica.cz> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: michal.vokac@comap.cz, Rostislav Lisovy , sojkam1@fel.cvut.cz List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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. > > Signed-off-by: Rostislav Lisovy Acked-by: Roger Quadros cheers, -roger