[PATCH 2/4] pwm_backlight: Validate dft_brightness in main probe function

Thierry Reding thierry.reding at avionic-design.de
Thu Jan 31 23:58:46 EST 2013


On Thu, Jan 31, 2013 at 01:38:18PM +0100, Peter Ujfalusi wrote:
> Hi Thierry,
> 
> On 01/22/2013 02:39 PM, Peter Ujfalusi wrote:
> > Move the dft_brightness validity check from the DT parsing function to the
> > main probe. In this way we can validate it in case we are booting with or
> > without DT.
> 
> Based on the discussion the rest of the series is going to be dropped, but
> what about this single patch?
> I think it is still addresses a valid issue, which is that in non DT boot we
> do not check if the dft_brightness is within valid range.
> 
> I can resend this patch alone since it is not going to apply on mainline as it is.

No that's okay. I've gone ahead and applied in manually.

Thanks,
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/devicetree-discuss/attachments/20130131/9d43b7a3/attachment-0001.sig>


More information about the devicetree-discuss mailing list