backlight: calculate maximum brightness from allowed led current.
@eric.kuzmenko and myself hand calculated the maximum current so far. The hack in the driver only limited the value (so the brightness scale would be clipped of in linear mode and not be fully used in exponential mode). This changes this by a runtime calculation that then scales the brightness accordingly so the highest brightness value means maximum panel brightness.
Edited by Guido Gunther