[PATCH 6.6 244/568] leds: flash: leds-qcom-flash: Test the correct variable in init