Re: [PATCH] pwm-backlight: add regulator and GPIO support
From: Mark Brown <hidden>
Date: 2012-07-05 10:41:25
Also in:
linux-tegra, lkml
Attachments
- signature.asc [application/pgp-signature] 836 bytes
From: Mark Brown <hidden>
Date: 2012-07-05 10:41:25
Also in:
linux-tegra, lkml
On Thu, Jul 05, 2012 at 10:02:34AM +0200, Sascha Hauer wrote:
So here the regulator core knows that there is no regulator and never will be. All that needs to be done is to make _regulator_get look at that value.
There may be some side effects if we just return ERR_PTR(-ENODEV) when regulator_dev_lookup returns -ENODEV. Maybe Mark has some comments to this.
I'm concerned about how this is going to interact with all the plans people have for dynamically loading device tree fragments during enumeration.