From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757347Ab3K2PsP (ORCPT ); Fri, 29 Nov 2013 10:48:15 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:41742 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751899Ab3K2PsO (ORCPT ); Fri, 29 Nov 2013 10:48:14 -0500 Message-ID: <5298B73B.8060605@ti.com> Date: Fri, 29 Nov 2013 10:48:11 -0500 From: Santosh Shilimkar User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Grygorii Strashko CC: Linus Walleij , , , , , Subject: Re: [RFC v1 1/9] gpio: davinci: get rid of DAVINCI_N_GPIO References: <1385494815-15740-1-git-send-email-grygorii.strashko@ti.com> <1385494815-15740-2-git-send-email-grygorii.strashko@ti.com> In-Reply-To: <1385494815-15740-2-git-send-email-grygorii.strashko@ti.com> 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 Tuesday 26 November 2013 02:40 PM, Grygorii Strashko wrote: > Since Davinci GPIO driver is moved to support gpiolib it has to use > ARCH_NR_GPIOS (can be configured using CONFIG_ARCH_NR_GPIO Kconfig > option) configuration instead of any mach/platform specific options. > > Hence, replace private DAVINCI_N_GPIO with common ARCH_NR_GPIOS. This is > safe because default value for ARCH_NR_GPIOS=256 and maximum number of > supported GPIOs for Davinci is DAVINCI_N_GPIO=144. > > More over, this is one of steps to re-use Davinci GPIO driver by other > mach/platform. > > Signed-off-by: Grygorii Strashko > --- Looks like you just combined the two earlier patches you have posted. Ack applies here as well. regards, Santosh