gpio_request() vs __gpio_get()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-leds" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux