i915: do not setup intel_backlight twice
authorKamal Mostafa <kamal@canonical.com>
Mon, 22 Aug 2011 19:39:10 +0000 (12:39 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 22 Aug 2011 21:59:35 +0000 (14:59 -0700)
commita2cc797d2d1a116b607de353de0ae1c2cab80b74
tree314254656e1b9c0b5dd540764ca718255b5e1693
parentfcb8ce5cfe30ca9ca5c9a79cdfe26d1993e65e0c
i915: do not setup intel_backlight twice

The commit "Not all systems expose a firmware or platform mechanism for
changing the backlight intensity on i915, so add native driver support"
adds calls to  intel_panel_setup_backlight() from intel_{lvds,dp}_init
so do not call it again from intel_setup_outputs().

BugLink: http://bugs.launchpad.net/bugs/831542
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
ACKed-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_display.c