drm/i915: use the initialized backlight max value instead of reading it
authorJani Nikula <jani.nikula@intel.com>
Fri, 8 Nov 2013 14:49:00 +0000 (16:49 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 13 Nov 2013 10:19:44 +0000 (11:19 +0100)
commitf91c15e0808e612abacdb0fbca557b23fe2aa4d1
tree4a0a62b9529289c984f74a63084ca7d12b822326
parent3bd712e545996658f4bc6c61ff99d7bae2a8cfcf
drm/i915: use the initialized backlight max value instead of reading it

We now have the max backlight value cached. Use it.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_panel.c