Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753939AbbFJCYr (ORCPT ); Tue, 9 Jun 2015 22:24:47 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:13530 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753000AbbFJCYj convert rfc822-to-8bit (ORCPT ); Tue, 9 Jun 2015 22:24:39 -0400 X-PGP-Universal: processed; by hqnvupgp08.nvidia.com on Tue, 09 Jun 2015 19:20:29 -0700 Message-ID: <55779FE2.6060107@nvidia.com> Date: Wed, 10 Jun 2015 11:24:34 +0900 From: Alexandre Courbot Organization: NVIDIA User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: =?UTF-8?B?VXdlIEtsZWluZS1Lw7ZuaWc=?= , Sebastian Reichel CC: , , Linus Walleij Subject: Re: [PATCH] HSI: nokia-modem: use flags argument of devm_gpiod_get to set direction References: <1433757225-6524-1-git-send-email-u.kleine-koenig@pengutronix.de> In-Reply-To: <1433757225-6524-1-git-send-email-u.kleine-koenig@pengutronix.de> X-NVConfidentiality: public X-Originating-IP: [10.19.57.128] X-ClientProxiedBy: HKMAIL104.nvidia.com (10.18.16.13) To HKMAIL103.nvidia.com (10.18.16.12) Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 748 Lines: 16 On 06/08/2015 06:53 PM, Uwe Kleine-König wrote: > Since 39b2bbe3d715 (gpio: add flags argument to gpiod_get*() functions) > which appeared in v3.17-rc1, the gpiod_get* functions take an additional > parameter that allows to specify direction and initial value for output. > > Use this to simplify the driver. Furthermore this is one caller less > that stops us making the flags argument to gpiod_get*() mandatory. Acked-by: Alexandre Courbot Thanks Uwe for taking care of this! -- 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/