backlight: lp855x: Make sure props struct is zeroed
authorWerner Johansson <werner.johansson@sonymobile.com>
Thu, 27 Aug 2015 17:41:15 +0000 (10:41 -0700)
committerLee Jones <lee.jones@linaro.org>
Mon, 5 Oct 2015 12:47:42 +0000 (13:47 +0100)
commit9f7898f3ca71744ef834048dc78ad4a21db4ac64
tree58d30ff608cde720a538fc4ecf19a54d5015aab7
parent1f93e4a96c9109378204c147b3eec0d0e8100fde
backlight: lp855x: Make sure props struct is zeroed

The driver occasionally got stuck in suspend mode or other strange
states as those parts of the props struct were never initialized.

Signed-off-by: Werner Johansson <werner.johansson@sonymobile.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Acked-by: Milo Kim <milo.kim@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/video/backlight/lp855x_bl.c