# Re: \[PATCH 15/21\] backlight: Probe backlight devices on demand

- From: Sascha Hauer \<s.hauer@pengutronix.de\>
- Date: 2015-05-26 07:26:07 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2015/05/4501905
- Thread: https://ratatoskr.run/linux-arm-kernel/2015/05/4501586/t.md

```text
On Tue, May 26, 2015 at 08:18:50AM +0100, Lee Jones wrote:
> On Mon, 25 May 2015, Tomeu Vizoso wrote:
> 
> > When looking up a backlight device through its DT node, ensure that the
> > corresponding device has been registered.
> > 
> > Signed-off-by: Tomeu Vizoso <redacted>
> > ---
> >  drivers/video/backlight/backlight.c | 3 +++
> >  1 file changed, 3 insertions(+)
> 
> Looks reasonable.
> 
> Until anyone screams at me, applied thanks.

The compiler will scream at you when it realizes that
of_platform_device_ensure() doesn't exist in your kernel...

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
```
