[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150329.130619.1197506503984550895.davem@davemloft.net>
Date: Sun, 29 Mar 2015 13:06:19 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: u.kleine-koenig@...gutronix.de
Cc: nico@...xnic.net, linus.walleij@...aro.org, tony@...mide.com,
netdev@...r.kernel.org, kernel@...gutronix.de, acourbot@...dia.com
Subject: Re: [PATCH] net: smc91x: make use of 4th parameter to
devm_gpiod_get_index
From: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
Date: Thu, 26 Mar 2015 22:26:08 +0100
> 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.
> Simplify accordingly.
>
> Moreover use devm_gpiod_get_index_optional for still simpler handling.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
Applied to net-next, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists