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

- From: Rojhalat Ibrahim \<hidden\>
- Date: 2015-01-22 09:32:59 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2015/01/4415156
- Thread: https://ratatoskr.run/linux-devicetree/2015/01/4414821/t.md

```text
On Wednesday 21 January 2015 22:33:48 Olliver Schinagl wrote:
> 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"?

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

   Rojhalat
```
