Thread (17 messages) 17 messages, 6 authors, 2015-03-04

Re: [PATCH v2 4/4] leds: no longer use unnamed gpios

From: Olliver Schinagl <hidden>
Date: 2015-01-22 09:37:57
Also in: linux-gpio, linux-input, linux-leds, lkml

Hey Rojhalat,

On 22-01-15 10:32, Rojhalat Ibrahim wrote:
On Wednesday 21 January 2015 22:33:48 Olliver Schinagl wrote:
quoted
From: Olliver Schinagl <redacted>

The gpio document says we should not use unnamed bindings for gpios.
This patch uses the 'led-' prefix to the gpios and updates code and
documents. Because the devm_get_gpiod_from_child() falls back to using
old-style unnamed gpios, we can update the code first, and update
dts files as time allows.

Signed-off-by: Olliver Schinagl <redacted>
Where does devm_get_gpiod_from_child() fall back "to using old-style
unnamed gpios"?
Your absolutly right, I accidentally forgot a patch that was supposed to 
get squashed into this patchset. The idea is to do the same as in 
gpio-keys-polled.c. I'll make sure it sits in v3 of the set! My appologies!

Olliver
After applying this patch the leds defined in my devicetree do not
work anymore.

    Rojhalat

-- 
Met vriendelijke groeten, Kind regards, 与亲切的问候

Olliver Schinagl
Research & Development
Ultimaker B.V.
http://www.ultimaker.com

--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help