Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752454AbaJBMg1 (ORCPT ); Thu, 2 Oct 2014 08:36:27 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:35453 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751219AbaJBMg0 (ORCPT ); Thu, 2 Oct 2014 08:36:26 -0400 Message-ID: <542D46A1.9090905@ti.com> Date: Thu, 2 Oct 2014 15:35:45 +0300 From: Roger Quadros User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Rostislav Lisovy , David Woodhouse , Brian Norris , Tony Lindgren , , CC: , , Rostislav Lisovy 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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/