Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965094AbbFJOFY (ORCPT ); Wed, 10 Jun 2015 10:05:24 -0400 Received: from mail.kernel.org ([198.145.29.136]:48665 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754266AbbFJOFQ (ORCPT ); Wed, 10 Jun 2015 10:05:16 -0400 Date: Wed, 10 Jun 2015 16:05:11 +0200 From: Sebastian Reichel To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: kernel@pengutronix.de, linux-kernel@vger.kernel.org, Linus Walleij , Alexandre Courbot Subject: Re: [PATCH] HSI: nokia-modem: use flags argument of devm_gpiod_get to set direction Message-ID: <20150610140510.GA11618@earth> References: <1433757225-6524-1-git-send-email-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline In-Reply-To: <1433757225-6524-1-git-send-email-u.kleine-koenig@pengutronix.de> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1819 Lines: 48 --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, Jun 08, 2015 at 11:53:45AM +0200, Uwe Kleine-K=F6nig 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. >=20 > Use this to simplify the driver. Furthermore this is one caller less > that stops us making the flags argument to gpiod_get*() mandatory. Thanks, queued. -- Sebastian --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJVeEQTAAoJENju1/PIO/qaUjIP/RpYZD8/Na5xEFvgujAcUwmi stn/2DAS991IwH5GfO1ygQ+zf2voNedKFc6Vkb2eeKvpyxR3BrfnUEaiX6RpZUzh FqNi0aBLvl5+rY1DCeYqzedTnDU8m/WLWJ7H6dyjwlbI591L4xs78fkcuwFB050E h88uJC38CryZQuh8u2aeTB1aE21BzhjjOHM1D4VrivTluL+UEGrEyTLCXAqutkBe myA3PPLg3UfIDlo8YgpUYRznft3ghcnfEmh+f1MNoWgTYp//QztNIGPY5WnmyjWh rvEXIxTOZbRfyNB57dxpAWmtug5cnC7fHhymZHOtqpXu9x/0+djPw8wTHkOpwE3l QSFOMpSYOU1qFzAYi1QOSzJyxzdMXhgaB6VN6cj89jk0ZmBZHkIHKuWg3nUQ+EOv AENhZMjGc6w9+FTSE97Fa9umPNjK/Dg7Ftmf6D8mKCuWp/TVZ4OKE1X5uHSO7qtS qnImG1TzzbQ0IWSfShF0DVQFqAKETmKtGPB/hqFtdApgi35Z++JfuzOODItvpjiO uh3Xi4+M8K5yBSMX0J4SvsnSSq6cOFrR8hysrkRVZYbAzkAACp1qke99Z5dN2Fw0 PS3qGn18k0Qy05jMUKfvCdC3f0RkY9Fpsqy9C3iamkyvxvqXz/5rGTuvFN0Zt97T hRbl74YJo+pcdTtmY2k9 =OHbw -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v-- -- 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/