Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751776AbaAOH55 (ORCPT ); Wed, 15 Jan 2014 02:57:57 -0500 Received: from mail-ob0-f172.google.com ([209.85.214.172]:53250 "EHLO mail-ob0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751634AbaAOH5z (ORCPT ); Wed, 15 Jan 2014 02:57:55 -0500 MIME-Version: 1.0 In-Reply-To: <1389333783-3372-1-git-send-email-zhangwm@marvell.com> References: <1389333783-3372-1-git-send-email-zhangwm@marvell.com> Date: Wed, 15 Jan 2014 08:57:54 +0100 Message-ID: Subject: Re: [PATCH] gpio: pxa: normalize the return value for gpio_get From: Linus Walleij To: Neil Zhang Cc: Alexandre Courbot , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 10, 2014 at 7:03 AM, Neil Zhang wrote: > It would be convenient to normalize the return value for gpio_get. > > I have checked mach-mmp / mach-pxa / plat-pxa / plat-orion / mach-orion5x. > It's OK for all of them to change this function to return 0 and 1. > > Signed-off-by: Neil Zhang Bah I updated the commit message a bit ... you dropped the gpio: pxa: etc from the previous patch, not good but don't worry I fixed it up. Yours, Linus Walleij -- 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/