pwm_backlight: Validate dft_brightness in main probe function
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 22 Jan 2013 13:39:54 +0000 (14:39 +0100)
committerThierry Reding <thierry.reding@avionic-design.de>
Thu, 31 Jan 2013 12:47:51 +0000 (13:47 +0100)
commit83cfd72669ff708c9d21f214606be785ea8a685c
tree1db0fd4fd6f130766f3777f1b81d4891f73dd754
parent928c44775bbf312332c5cb8df7c7451c1d8fba25
pwm_backlight: Validate dft_brightness in main probe function

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.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
drivers/video/backlight/pwm_bl.c