drm/backlight: initialize struct backlight_properties properly
authorCorentin Chary <corentin.chary@gmail.com>
Tue, 22 May 2012 09:29:46 +0000 (10:29 +0100)
committerDave Airlie <airlied@redhat.com>
Tue, 22 May 2012 09:29:46 +0000 (10:29 +0100)
commitaf437cfd355275a62e45ce8281ef5cc57c953bbc
treeacc097a280651fa0707948baf8dbe6b2a51ad45c
parent6225ee05ea44638b51ded0056505923cb6e2656d
drm/backlight: initialize struct backlight_properties properly

The power field was never correctly initialized.

[airlied: just took the two drm specific bits]

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/intel_panel.c
drivers/gpu/drm/radeon/radeon_legacy_encoders.c