[PATCH 4.19 453/639] backlight: pwm_bl: Fix heuristic to determine number of brightness levels