]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: gpio: Add an implementation for gpio_get_number()
authorSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 18:21:58 +0000 (12:21 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:19 +0000 (11:11 -0600)
commit56a71f891b78351e949d98bdfc14d89fd0782640
tree5454b85fcf05bcc3085859d81ec479df68885d24
parentc5785673bc6f4b8f2a4974979710a2c5c15eb063
dm: gpio: Add an implementation for gpio_get_number()

This has a prototype but no implementation. It returns the global GPIO number
given a gpio_desc. It is useful for debugging in some cases.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/gpio/gpio-uclass.c