linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* gpio_request() vs __gpio_get()
@ 2015-03-08 20:14 Lucas De Marchi
  2015-03-09  9:21 ` Alexandre Courbot
  0 siblings, 1 reply; 3+ messages in thread
From: Lucas De Marchi @ 2015-03-08 20:14 UTC (permalink / raw)
  To: linux-gpio, linux-leds

Hi,

I was looking at drivers/leds/ in how it interacts with gpiolib. I see
that there's a new gpiod_* API.
"git grep gpio_request -- drivers/leds/" reveals quite a number of
users of gpio_request() and gpio_request_one().

Am I right that these are going to be ported to the new gpiod_* API?
If yes, what would be the equivalent calls?  I thought it would be one
of the __gpiod_get() functions, but these would invariably fail if I
passed dev == NULL which is my case.


thanks

-- 
Lucas De Marchi

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-09 12:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-08 20:14 gpio_request() vs __gpio_get() Lucas De Marchi
2015-03-09  9:21 ` Alexandre Courbot
2015-03-09 12:45   ` Lucas De Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).